[FFmpeg-cvslog] r16266 - trunk/libavcodec/tiff.c

kostya subversion
Mon Dec 22 07:43:15 CET 2008


Author: kostya
Date: Mon Dec 22 07:43:14 2008
New Revision: 16266

Log:
Add monochrome TIFF support

Modified:
   trunk/libavcodec/tiff.c

Modified: trunk/libavcodec/tiff.c
==============================================================================
--- trunk/libavcodec/tiff.c	(original)
+++ trunk/libavcodec/tiff.c	Mon Dec 22 07:43:14 2008
@@ -220,6 +220,9 @@ static int tiff_decode_tag(TiffContext *
             }
         }
         switch(s->bpp){
+        case 1:
+            s->avctx->pix_fmt = PIX_FMT_MONOBLACK;
+            break;
         case 8:
             s->avctx->pix_fmt = PIX_FMT_PAL8;
             break;




More information about the ffmpeg-cvslog mailing list