OSDN Git Service

Analysis of logs show that there are in fact some files with m1v1 too (not just m2v2),
authorJason Garrett-Glaser <darkshikari@gmail.com>
Sat, 13 Jun 2009 03:02:16 +0000 (03:02 +0000)
committerJason Garrett-Glaser <darkshikari@gmail.com>
Sat, 13 Jun 2009 03:02:16 +0000 (03:02 +0000)
which is documented to be MPEG-1 video.  Adding fourcc to isom.c.

Originally committed as revision 19180 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/isom.c

index 0a410c1..34f69aa 100644 (file)
@@ -117,6 +117,7 @@ const AVCodecTag codec_movvideo_tags[] = {
     { CODEC_ID_H264, MKTAG('a', 'v', 'c', '1') }, /* AVC-1/H.264 */
 
     { CODEC_ID_MPEG1VIDEO, MKTAG('m', 'p', 'e', 'g') }, /* MPEG */
+    { CODEC_ID_MPEG1VIDEO, MKTAG('m', '1', 'v', '1') },
     { CODEC_ID_MPEG2VIDEO, MKTAG('h', 'd', 'v', '1') }, /* MPEG2 HDV 720p30 */
     { CODEC_ID_MPEG2VIDEO, MKTAG('h', 'd', 'v', '2') }, /* MPEG2 HDV 1080i60 */
     { CODEC_ID_MPEG2VIDEO, MKTAG('h', 'd', 'v', '3') }, /* MPEG2 HDV 1080i50 */