avcodec/sbrdsp_fixed: Fix assertion failure in sbr_sum_square_c()
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 4 Jun 2017 18:54:44 +0000 (20:54 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 4 Jun 2017 21:41:35 +0000 (23:41 +0200)
commitb315a3cf42a15358ab38279723f3c93406a66f6a
treec5bfeaa0fb460e8f1ef043ae57f9a0bd7eb9937b
parent6019d721d4c10bf73018d68511d9d0a914c0a389
avcodec/sbrdsp_fixed: Fix assertion failure in sbr_sum_square_c()

This also increases the range of input values supported as well as
decreasing the operation dependencies in the main loop, improving
speed on modern CPUs.

Fixes part of: 2045/clusterfuzz-testcase-minimized-6751255865065472

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