avcodec/aacpsdsp_template: Fix integer overflows in ps_decorrelate_c()
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 5 Nov 2017 20:20:08 +0000 (21:20 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 13 Nov 2017 18:54:20 +0000 (19:54 +0100)
commit2afe05402f05d485f0c356b04dc562f0510d317d
tree4d6b343abf5408e0c3aa83d404fa40bdeedcecbd
parentfca198fb5bf42ba6b765b3f75b11738e4b4fc2a9
avcodec/aacpsdsp_template: Fix integer overflows in ps_decorrelate_c()

Fixes: runtime error: signed integer overflow: 1939661764 - -454942263 cannot be represented in type 'int'
Fixes: 3191/clusterfuzz-testcase-minimized-5688798451073024

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