]> git.sesse.net Git - ffmpeg/commit
avcodec/amrwbdec: Fix division by 0 in find_hb_gain()
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 2 Jun 2018 22:48:06 +0000 (00:48 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 4 Jun 2018 21:47:51 +0000 (23:47 +0200)
commitdce80a4b47efaba97707bda781a9ee57f5a26974
treee20438defc3bf0341d5b295f316462bc1d60e4fa
parent146cdf7e4bb029c9e457742d82d00d3b396b9ff4
avcodec/amrwbdec: Fix division by 0 in find_hb_gain()

This restructures the code slightly toward D_UTIL_dec_synthesis()

Fixes: 7420/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AMRWB_fuzzer-6577305112543232
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/amrwbdec.c