aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorScott Theisen <scott.the.elm@gmail.com>2024-11-14 14:57:01 -0500
committerMarton Balint <cus@passwd.hu>2024-11-21 00:59:09 +0100
commitbe784e95ac5cd720fb0da0f13841b0fdf4f90391 (patch)
tree5f97518b0b414d60254b302df4f9cd63ee20a67e /libavformat
parent7051825b0171bd5d566c5a5cc78852c5f3aa3072 (diff)
downloadffmpeg-be784e95ac5cd720fb0da0f13841b0fdf4f90391.tar.gz
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>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/mpegts.c1
1 files changed, 1 insertions, 0 deletions
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 },
};