avformat/mpegts: add support for ATSC E-AC-3 streams

ATSC A/52:2018 Digital Audio Compression (AC-3, E-AC-3), Annex G
defines stream_type 0x87 for E-AC-3 bit streams.

Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
Scott Theisen 2024-11-14 14:57:01 -05:00 committed by Marton Balint
parent 7051825b01
commit be784e95ac
1 changed files with 1 additions and 0 deletions

View File

@ -847,6 +847,7 @@ static const StreamType SCTE_types[] = {
/* ATSC ? */
static const StreamType MISC_types[] = {
{ 0x81, AVMEDIA_TYPE_AUDIO, AV_CODEC_ID_AC3 },
{ 0x87, AVMEDIA_TYPE_AUDIO, AV_CODEC_ID_EAC3 },
{ 0x8a, AVMEDIA_TYPE_AUDIO, AV_CODEC_ID_DTS },
{ 0 },
};