avcodec/cavsdec: Fix runtime error: signed integer overflow: 31 + 2147483640 cannot...
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 12 May 2017 22:42:29 +0000 (00:42 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 12 May 2017 22:43:07 +0000 (00:43 +0200)
commit5ac17f187ae6ec97ad41b763f999bd99782c37aa
tree1dc01f472df27ae20824f23bc722ad5367a4b7d9
parentcb243972b121b1ae6b60a78ff55a0506c69f3879
avcodec/cavsdec: Fix runtime error: signed integer overflow: 31 + 2147483640 cannot be represented in type 'int'

Fixes: 1506/clusterfuzz-testcase-minimized-5401272918212608

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