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, 19 Jul 2017 01:47:45 +0000 (03:47 +0200)
commitf1143f5dc0e2c65173b102a8cc097b3606bea3d9
tree1972f0def36fb9be81bfe30159a54882e3780349
parent0ddff40bf8887a023e553cf6282e9df654435456
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>
(cherry picked from commit 80b9e40b6f1e15db9f36c195e7375e65f6b4924f)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/aacps.c