Commit 8e082df0 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

Support decoding of monochrome tiff images without bpp tag.

parent 7680d99b
......@@ -1008,6 +1008,8 @@ static int decode_frame(AVCodecContext *avctx,
return -1;
}
s->le = le;
// TIFF_BPP is not a required tag and defaults to 1
s->bppcount = s->bpp = 1;
s->invert = 0;
s->compr = TIFF_RAW;
s->fill_order = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment