mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avcodec/tiff: remove redundant check
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
a9553e8f37
commit
200170e8c0
@ -733,7 +733,7 @@ static int tiff_decode_tag(TiffContext *s, AVFrame *frame)
|
|||||||
bytestream2_seek(&s->gb, off, SEEK_SET);
|
bytestream2_seek(&s->gb, off, SEEK_SET);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (count > 4 || type_sizes[type] * count > 4) {
|
if (type_sizes[type] * count > 4) {
|
||||||
off = tget_long(&s->gb, s->le);
|
off = tget_long(&s->gb, s->le);
|
||||||
bytestream2_seek(&s->gb, off, SEEK_SET);
|
bytestream2_seek(&s->gb, off, SEEK_SET);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user