avcodec/aacps (fixed point): Fix multiple signed integer overflows
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 9 Jul 2017 13:19:18 +0000 (15:19 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 12 Jul 2017 02:20:21 +0000 (04:20 +0200)
commit80b9e40b6f1e15db9f36c195e7375e65f6b4924f
tree32e9f8c863f7c1f229e6ec6f0fa5fdd0b3b69ad2
parent15c41cb6adc4d6720d51c21f8baebebce923b213
avcodec/aacps (fixed point): Fix multiple signed integer overflows

Fixes: runtime error: signed integer overflow: 1421978265 - -1810326882 cannot be represented in type 'int'
Fixes: 2527/clusterfuzz-testcase-minimized-5260915396050944

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