avcodec/flacdec: avoid undefined shift
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 26 Dec 2017 22:24:43 +0000 (23:24 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 28 Dec 2017 19:13:59 +0000 (20:13 +0100)
commit560daf88913b0de59a4d845bcd19254b406388dd
tree1cd91f6467d6a56e9e93ea0656e338e6a2d909a9
parentbe4dfbf7b71e44a53ca8da882a081e35ea134c83
avcodec/flacdec: avoid undefined shift

Fixes: shift exponent 32 is too large for 32-bit type 'unsigned int'
Fixes: 4688/clusterfuzz-testcase-minimized-6572210748653568

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