avcodec/hqxdsp: Fix runtime error: signed integer overflow: -196264 * 11585 cannot...
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 14 May 2017 12:06:56 +0000 (14:06 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 20 May 2017 01:41:33 +0000 (03:41 +0200)
commit12f969bd2c572c882fc2a1172582129543fa9f89
tree34d2b5e7fbdbab37b17f7592d350381732cb502a
parent42f2cf15976795ee9ba7752b616e560448baa8c8
avcodec/hqxdsp: Fix runtime error: signed integer overflow: -196264 * 11585 cannot be represented in type 'int'

Fixes: 1568/clusterfuzz-testcase-minimized-5944868608147456

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit b923213276777f33d6366b1cb9d1845a8658f365)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/hqxdsp.c