From be784e95ac5cd720fb0da0f13841b0fdf4f90391 Mon Sep 17 00:00:00 2001 From: Scott Theisen Date: Thu, 14 Nov 2024 14:57:01 -0500 Subject: [PATCH] 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 --- libavformat/mpegts.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index 78ab7f7efe..177e610e53 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -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 }, };