avcodec/aacsbr_fixed: Check shift in sbr_hf_assemble()
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 13 Jun 2017 14:25:59 +0000 (16:25 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 13 Jun 2017 15:39:13 +0000 (17:39 +0200)
commitd1992448d37f7cfa2acda5cc729dc0ff1b019390
tree59a62861ea66efe1ac5af7ec467e64810d844d3c
parentd549f026d8b64b879c3ce3b8c7d153c82aa5eb52
avcodec/aacsbr_fixed: Check shift in sbr_hf_assemble()

Fixes: runtime error: shift exponent -10 is negative

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/aacsbr_fixed.c