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
|
||||
s->strippos = off;
|
||||
s->strips = count;
|
||||
if (s->strips == 1)
|
||||
if (s->strips == s->bppcount)
|
||||
s->rps = s->height;
|
||||
s->sot = type;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user