mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-03 05:10:03 +02:00
avcodec/tiff: Fix use of uninitialized off variable
Fixes CID1108608 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
43041a7b4a
commit
0aba920d61
@ -597,10 +597,8 @@ static int tiff_decode_tag(TiffContext *s, AVFrame *frame)
|
||||
value = UINT_MAX;
|
||||
}
|
||||
} else {
|
||||
if (type_sizes[type] * count > 4) {
|
||||
off = bytestream2_tell(&s->gb);
|
||||
}
|
||||
}
|
||||
|
||||
switch (tag) {
|
||||
case TIFF_WIDTH:
|
||||
|
Loading…
Reference in New Issue
Block a user