aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-08-09 14:53:55 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-08-09 14:58:07 +0200
commit200170e8c0b7affea87847ca1f5b0c9a9cf19533 (patch)
tree61f002aa2aef6442fd55ab99d286ab6ed10c74db
parenta9553e8f37926e9b71d87cb08b1f4a2e7bb60097 (diff)
downloadffmpeg-200170e8c0b7affea87847ca1f5b0c9a9cf19533.tar.gz
avcodec/tiff: remove redundant check
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/tiff.c2
1 files changed, 1 insertions, 1 deletions
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);
}