Commit 200170e8 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/tiff: remove redundant check

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent a9553e8f
......@@ -733,7 +733,7 @@ static int tiff_decode_tag(TiffContext *s, AVFrame *frame)
bytestream2_seek(&s->gb, off, SEEK_SET);
}
} else {
if (count > 4 || type_sizes[type] * count > 4) {
if (type_sizes[type] * count > 4) {
off = tget_long(&s->gb, s->le);
bytestream2_seek(&s->gb, off, SEEK_SET);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment