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>
Thu, 15 Jun 2017 22:46:34 +0000 (00:46 +0200)
commitfd0da0eef0076732a65d173186081c125e28068f
treee2e0c99c0ffb99a566a4a9ffaa2039d6a33c852a
parent0ac41463891cf0899b72f862c2c7998b67316c8a
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>
(cherry picked from commit d1992448d37f7cfa2acda5cc729dc0ff1b019390)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/aacsbr_fixed.c