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:09 +0000 (03:07 +0200)
commitcbc4f40d137279eac5cea66f21fc99d1d87ccc37
treed2fe5644d71be54ed7e3312b3d39cbdac86c4afc
parentea73c4813d833409dc45257ec83cdb6829184374
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