avcodec/hq_hqa: Fix: runtime error: signed integer overflow: -255 * 10180917 cannot...
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 16 May 2017 21:44:24 +0000 (23:44 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 16 May 2017 21:45:01 +0000 (23:45 +0200)
commit3d9cb583c8f005a260d255853ef5f1c21e8599a0
treeafc194a36e9d48c27a9c3341170aec16e5c5928e
parent5666b95c9f27efa6f9b1e1bb6c592b9a8d78bca5
avcodec/hq_hqa: Fix: runtime error: signed integer overflow: -255 * 10180917 cannot be represented in type 'int'

Fixes: 1626/clusterfuzz-testcase-minimized-6416580571299840

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