[FFmpeg-cvslog] mpegts: identify h264 mvc streams

Hendrik Leppkes git at videolan.org
Wed Jan 14 02:02:37 CET 2015


ffmpeg | branch: master | Hendrik Leppkes <h.leppkes at gmail.com> | Sat May 26 13:49:41 2012 +0200| [a9d700f2127fb1e9aafeab00164d625473ce62ed] | committer: Michael Niedermayer

mpegts: identify h264 mvc streams

This fixes missdetecting such streams as something else like AAC

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a9d700f2127fb1e9aafeab00164d625473ce62ed
---

 libavformat/mpegts.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index f61388b..6fb186e 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -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      },



More information about the ffmpeg-cvslog mailing list