avcodec/tiff: remove redundant check

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-08-09 14:53:55 +02:00
parent a9553e8f37
commit 200170e8c0
1 changed files with 1 additions and 1 deletions

View File

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