avcodec/ylc: Fix shift overflow
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 22 Jul 2017 00:57:12 +0000 (02:57 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 25 Jul 2017 22:14:20 +0000 (00:14 +0200)
commitb120685dcae98173646031fc30690858555777e7
tree75449249c8089f5a92bc381d85e1e36d6f342815
parentb44a3cd06e220e4650fcf196815873c27b31acf5
avcodec/ylc: Fix shift overflow

Fixes: runtime error: shift exponent 32 is too large for 32-bit type 'unsigned int'
Fixes: 2698/clusterfuzz-testcase-minimized-4713541443518464

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 03a9e6ff303ad82e75b734edbe4917ca5fd60159)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/ylc.c