avcodec/aacdec_fixed: Handle more extreem cases in noise_scale()
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 16 May 2019 10:00:18 +0000 (12:00 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 27 Jun 2019 15:50:47 +0000 (17:50 +0200)
commit42245d49a4ad76b84e62aa1f7d2eca5b15534fbf
tree3a3702c4508a319fa3c77a612d0d2d527143e36f
parent11f5eb0f16378581171ca3068ea7e751947f43a7
avcodec/aacdec_fixed: Handle more extreem cases in noise_scale()

Its unclear if these cases have any relevance in real files

Fixes: shift exponent -2 is negative
Fixes: 14489/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AAC_FIXED_fuzzer-5681941631729664

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 3d14663f8345a84613b1ec041fd65e4a90057320)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/aacdec_fixed.c