1
0
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:
Carl Eugen Hoyos
2022-08-31 19:37:19 +02:00
parent 90aa2a88f9
commit ff6044b921

View File

@@ -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;