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>
Sat, 20 May 2017 01:41:34 +0000 (03:41 +0200)
commit28d7c43d0f7cf3e32e30106a15462039107ad5be
tree4d244c237338d97758fc5c7636a5879aedfc14fa
parent9dcd02a5a5d1b7f545dfd064760f4b278159ba5c
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>
(cherry picked from commit 3d9cb583c8f005a260d255853ef5f1c21e8599a0)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/hq_hqa.c