avcodec/flacdec: reduce limit for golomb so that the max value does not overflow
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 20 Feb 2017 22:59:26 +0000 (23:59 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 20 Feb 2017 23:40:20 +0000 (00:40 +0100)
commit0a65dae9d0c01730323695fdc45eb1c1f5a978f7
tree3d341c6e32c42f35b1956c40929d990e5c434bef
parente04108dfa6d13d171b0e1b5646cc10ce51050bed
avcodec/flacdec: reduce limit for golomb so that the max value does not overflow

Fixes: runtime error: left shift of 32 by 26 places cannot be represented in type 'int'

Fixes: 628/clusterfuzz-testcase-6187747641393152
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/flacdec.c