avcodec/aacsbr_fixed: Fix division by zero in sbr_gain_calc()
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 1 Nov 2017 13:00:19 +0000 (14:00 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 1 Dec 2017 23:28:59 +0000 (00:28 +0100)
commit21ae8b4869e2b2d51be2ce726b03cd86bc36285f
treee17c7add78c6daf0e35cd2facee7b388c4a13afa
parent122634a580dfecec51f6105205b144e60731ae78
avcodec/aacsbr_fixed: Fix division by zero in sbr_gain_calc()

Fixes: 3642/clusterfuzz-testcase-minimized-5443853801750528

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 7d1dec466895eed12f2c79b7ab5447f5390fe869)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/aacsbr_fixed.c