avcodec/targa_y216dec: Fix width type
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 7 May 2017 01:49:06 +0000 (03:49 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 7 May 2017 02:11:21 +0000 (04:11 +0200)
commit3e56db892600c2fbe34782c6140f1ee832a2c344
tree033fae927284c1e324e828fcf600960d07172263
parente92fb2bea1800b987ebc3cbeef9d48cfe4bcd191
avcodec/targa_y216dec: Fix width type

Fixes out of array access
Fixes: 1376/clusterfuzz-testcase-minimized-6361794975105024

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/targa_y216dec.c