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>
Mon, 19 Feb 2018 01:40:54 +0000 (02:40 +0100)
commitf08be2b3d2ad9ed86d99e3391562facf44ea46b0
tree010c31be38772ea2fe7e81ed7c0fdb4cb3ac1ac3
parentb3af84774b03b1b48d919be2514a84b35ca91fe7
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