avcodec/aacdec_fixed: Check s for being too small
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 19 Jun 2017 12:04:32 +0000 (14:04 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 22 Jun 2017 01:07:07 +0000 (03:07 +0200)
commit27ad04e128cbd70de150fd65d4dffd3c677d33bd
treea7b8fe9e104b5f0b44c52f46be6b6147a42513b1
parent66735ddd7220e4396ca9a577ebeb7b87c61eed21
avcodec/aacdec_fixed: Check s for being too small

Fixes: runtime error: shift exponent -8 is negative
Fixes: 2286/clusterfuzz-testcase-minimized-5711764169687040

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