avcodec/aacsbr_fixed: Fix overflows in rounding in sbr_hf_assemble()
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 31 Jan 2018 17:13:07 +0000 (18:13 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 1 Feb 2018 23:18:24 +0000 (00:18 +0100)
commitb1bef755f617af9685b592d866b3eb7f3c4b02b1
tree6eced1aeb7c297a588d2e40cb84b38edd93e3d4a
parent0a2560a9775be7c5df09c85c9908b05e711a54a3
avcodec/aacsbr_fixed: Fix overflows in rounding in sbr_hf_assemble()

Fixes: runtime error: signed integer overflow: 2052929346 + 204817098 cannot be represented in type 'int'
Fixes: 5275/clusterfuzz-testcase-minimized-5367635958038528

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