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, 20 Jun 2017 00:05:09 +0000 (02:05 +0200)
commit5a35ac54358de40db0cf2b2393b0146e616ba233
tree38bfe93333aeb4157c306a4e173616266fb08a3c
parent3db46e6447f191622a9219a7f14a81234274c5df
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