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>
Wed, 31 Jan 2018 21:56:15 +0000 (22:56 +0100)
commit59e3f49ef0f3db4ef2ea06daf61bc965618f8485
tree261f6373679ae7a507b2178d610994830c0a92e2
parent789157fdde3db893eccb910d1a1d3f8ae1df8293
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>
(cherry picked from commit 560daf88913b0de59a4d845bcd19254b406388dd)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/flacdec.c