avcodec/scpr: Fix multiple runtime error: signed integer overflow: 2147483647 + 1...
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 9 May 2017 17:45:46 +0000 (19:45 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 9 May 2017 17:46:17 +0000 (19:46 +0200)
commitf1a4dd5e480932ee580fb686988599d46bb71637
tree5c26f5fc238f4fcb2665e782f24e5d961f3ea9d4
parent62c5949beca2c95d6af5c74985467438d2295a66
avcodec/scpr: Fix multiple runtime error: signed integer overflow: 2147483647 + 1 cannot be represented in type 'int'

Fixes: 1422/clusterfuzz-testcase-minimized-5030993939398656

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