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>
Wed, 4 Oct 2017 23:28:21 +0000 (01:28 +0200)
commit79bec49315ba7b879560f6db23b592495325761e
treef6333bd60daf5f29dc48941a530571ecab769520
parent2293e5a78a6afe02197145c73f2fbf2de50d6519
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