avcodec/aacdec_fixed: fix invalid shift in predict()
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 4 Aug 2017 01:26:30 +0000 (03:26 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 9 Sep 2017 23:33:28 +0000 (01:33 +0200)
commit818f73542daf9a125b58e284f5ae3c9b35721f5c
treee7b7600b0047b3ec5014089598d7512eca14855c
parent1dbfcd65b26d93d4beaca0c0fc60c31092e555bc
avcodec/aacdec_fixed: fix invalid shift in predict()

Fixes: runtime error: shift exponent -2 is negative
Fixes: 2818/clusterfuzz-testcase-minimized-5062943676825600

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