You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
lavc/tiff: Support multi-component files without RowsPerStrip tag.
Fixes ticket #9514.
This commit is contained in:
@@ -1367,7 +1367,7 @@ static int tiff_decode_tag(TiffContext *s, AVFrame *frame)
|
|||||||
} else
|
} else
|
||||||
s->strippos = off;
|
s->strippos = off;
|
||||||
s->strips = count;
|
s->strips = count;
|
||||||
if (s->strips == 1)
|
if (s->strips == s->bppcount)
|
||||||
s->rps = s->height;
|
s->rps = s->height;
|
||||||
s->sot = type;
|
s->sot = type;
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user