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, 8 Jan 2018 22:19:14 +0000 (23:19 +0100)
commit4be2a19822da38c8c53f83285c38284dd7c87d7b
tree1fd9b942e9065ab70c94a3d195210563fb2f7cff
parent954c2b07b6fe2a745feb42a9364fbfcdd932002f
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