OSDN Git Service

fix rgb444 support in avi.
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 6 Jun 2010 11:00:30 +0000 (11:00 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 6 Jun 2010 11:00:30 +0000 (11:00 +0000)
Originally committed as revision 23503 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/rawdec.c

index a73b293..ab13bdc 100644 (file)
@@ -38,6 +38,7 @@ typedef struct RawVideoContext {
 static const PixelFormatTag pix_fmt_bps_avi[] = {
     { PIX_FMT_PAL8,    4 },
     { PIX_FMT_PAL8,    8 },
+    { PIX_FMT_RGB444, 12 },
     { PIX_FMT_RGB555, 15 },
     { PIX_FMT_RGB555, 16 },
     { PIX_FMT_BGR24,  24 },