# HG changeset patch # User kostya # Date 1229928194 0 # Node ID 2dfb0cc864b62ed87d8db9dea92eacd1e1c3d383 # Parent 898722eb4fd26f76abd761bcd9fb2238c25a72e1 Add monochrome TIFF support diff -r 898722eb4fd2 -r 2dfb0cc864b6 tiff.c --- a/tiff.c Mon Dec 22 06:39:31 2008 +0000 +++ b/tiff.c Mon Dec 22 06:43:14 2008 +0000 @@ -220,6 +220,9 @@ } } switch(s->bpp){ + case 1: + s->avctx->pix_fmt = PIX_FMT_MONOBLACK; + break; case 8: s->avctx->pix_fmt = PIX_FMT_PAL8; break;