avcodec/proresdec2: SKIP_BITS() does not work with len=32
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 2 Oct 2017 02:18:22 +0000 (04:18 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 26 Oct 2017 15:34:42 +0000 (17:34 +0200)
commit6b9ffcdb2bac691ff76febb7f0b60f31109f3fb0
tree7c0f1fbb5f31850d6e865857aa82375b3d3880a5
parent520daf8c0ec493d30a8737e667b2602a6aa9a802
avcodec/proresdec2: SKIP_BITS() does not work with len=32

Fixes: invalid shift
Fixes: 3482/clusterfuzz-testcase-minimized-5446915875405824

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