From 373b82066cd4d0c7f42af9b03e8cdc1085e1a6e5 Mon Sep 17 00:00:00 2001 From: Aman Gupta Date: Tue, 14 Jun 2016 11:08:55 -0700 Subject: [PATCH] avformat/mpegts: include stream type for aac this removes the need to probe to discover aac streams inside mpegts containers, thus speeding up initial playback. Reviewed-by: Hendrik Leppkes Signed-off-by: Michael Niedermayer --- libavformat/mpegts.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index 379ffbd7bf..6ce169e709 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -700,6 +700,7 @@ static const StreamType ISO_types[] = { { 0x11, AVMEDIA_TYPE_AUDIO, AV_CODEC_ID_AAC_LATM }, /* LATM syntax */ #endif { 0x1b, AVMEDIA_TYPE_VIDEO, AV_CODEC_ID_H264 }, + { 0x1c, AVMEDIA_TYPE_AUDIO, AV_CODEC_ID_AAC }, { 0x20, AVMEDIA_TYPE_VIDEO, AV_CODEC_ID_H264 }, { 0x21, AVMEDIA_TYPE_VIDEO, AV_CODEC_ID_JPEG2000 }, { 0x24, AVMEDIA_TYPE_VIDEO, AV_CODEC_ID_HEVC }, -- 2.11.0