mpegts: identify h264 mvc streams
authorHendrik Leppkes <h.leppkes@gmail.com>
Sat, 26 May 2012 11:49:41 +0000 (13:49 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 14 Jan 2015 00:39:16 +0000 (01:39 +0100)
This fixes missdetecting such streams as something else like AAC

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/mpegts.c

index f61388b..6fb186e 100644 (file)
@@ -674,6 +674,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       },
+    { 0x20, AVMEDIA_TYPE_VIDEO, AV_CODEC_ID_H264       },
     { 0x24, AVMEDIA_TYPE_VIDEO, AV_CODEC_ID_HEVC       },
     { 0x42, AVMEDIA_TYPE_VIDEO, AV_CODEC_ID_CAVS       },
     { 0xd1, AVMEDIA_TYPE_VIDEO, AV_CODEC_ID_DIRAC      },