Skip to content
Snippets Groups Projects
Commit 89b4ec5c authored by Kostya Shishkov's avatar Kostya Shishkov
Browse files

Add monochrome TIFF support

Originally committed as revision 16266 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 4386ed69
No related branches found
No related tags found
No related merge requests found
......@@ -220,6 +220,9 @@ static int tiff_decode_tag(TiffContext *s, const uint8_t *start, const uint8_t *
}
}
switch(s->bpp){
case 1:
s->avctx->pix_fmt = PIX_FMT_MONOBLACK;
break;
case 8:
s->avctx->pix_fmt = PIX_FMT_PAL8;
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment