OSDN Git Service

add support for grayscale rawvideo avi
authorPhilippe De Muyter <phdm@macqel.be>
Fri, 15 Sep 2006 09:42:51 +0000 (09:42 +0000)
committerGuillaume Poirier <gpoirier@mplayerhq.hu>
Fri, 15 Sep 2006 09:42:51 +0000 (09:42 +0000)
patch by Philippe De Muyter %phdm A macqel P be%
Original thread:
Date: Sep 15, 2006 10:18 AM
Subject: [Ffmpeg-devel] [PATCH] ffmpeg does not recognize his own grayscale rawvideo avi's

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

libavformat/riff.c

index cb11980..2ab1ec1 100644 (file)
@@ -110,6 +110,7 @@ const CodecTag codec_bmp_tags[] = {
     { CODEC_ID_RAWVIDEO, MKTAG('Y', 'V', '1', '2') },
     { CODEC_ID_RAWVIDEO, MKTAG('U', 'Y', 'V', 'Y') },
     { CODEC_ID_RAWVIDEO, MKTAG('I', 'Y', 'U', 'V') },
+    { CODEC_ID_RAWVIDEO, MKTAG('Y', '8', '0', '0') },
     { CODEC_ID_INDEO3, MKTAG('I', 'V', '3', '1') },
     { CODEC_ID_INDEO3, MKTAG('I', 'V', '3', '2') },
     { CODEC_ID_VP3, MKTAG('V', 'P', '3', '1') },