aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-10-27 13:07:44 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-10-27 13:10:38 +0100
commitd5ad4e4a2f120b7390a86c99dcaefe1dd84f3f28 (patch)
treef2b98811c4f9f7a864ec86e068b4c87f28a9f848
parent0aba920d617defda09957fa99db5a9a95b831398 (diff)
downloadffmpeg-d5ad4e4a2f120b7390a86c99dcaefe1dd84f3f28.tar.gz
avcodec/tiff: remove TIFF_LONG special case
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/tiff.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c
index a22db43872..e8c99507d7 100644
--- a/libavcodec/tiff.c
+++ b/libavcodec/tiff.c
@@ -582,11 +582,8 @@ static int tiff_decode_tag(TiffContext *s, AVFrame *frame)
switch (type) {
case TIFF_BYTE:
case TIFF_SHORT:
- value = ff_tget(&s->gb, type, s->le);
- break;
case TIFF_LONG:
- off = ff_tget_long(&s->gb, s->le);
- value = off;
+ value = ff_tget(&s->gb, type, s->le);
break;
case TIFF_STRING:
if (count <= 4) {