mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-18 21:45:10 +00:00
Support decoding of monochrome tiff images without bpp tag.
This commit is contained in:
parent
7680d99b43
commit
8e082df0f4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user