From 200170e8c0b7affea87847ca1f5b0c9a9cf19533 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 9 Aug 2013 14:53:55 +0200 Subject: [PATCH] avcodec/tiff: remove redundant check Signed-off-by: Michael Niedermayer --- libavcodec/tiff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c index 483225dc1e..f4ad773224 100644 --- a/libavcodec/tiff.c +++ b/libavcodec/tiff.c @@ -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); }