Browse Source

avcodec/tiff: Fix use of uninitialized off variable

Fixes CID1108608

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.1
Michael Niedermayer 12 years ago
parent
commit
0aba920d61
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      libavcodec/tiff.c

+ 1
- 3
libavcodec/tiff.c View File

@@ -597,9 +597,7 @@ static int tiff_decode_tag(TiffContext *s, AVFrame *frame)
value = UINT_MAX;
}
} else {
if (type_sizes[type] * count > 4) {
off = bytestream2_tell(&s->gb);
}
off = bytestream2_tell(&s->gb);
}

switch (tag) {


Loading…
Cancel
Save