avcodec/msmpeg4dec: Check for cbpy VLC errors
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 11 May 2017 17:10:16 +0000 (19:10 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 11 May 2017 18:04:57 +0000 (20:04 +0200)
commit15e892aad12b23e9b5686cf66ca6fa739c734ead
tree0aad54e058075bbfd4fc98f2d458527957b20a79
parent2bfd0a97587d26c0c39413a6291ccc66e4a928d0
avcodec/msmpeg4dec: Check for cbpy VLC errors

Fixes: runtime error: left shift of negative value -1
Fixes: 1480/clusterfuzz-testcase-minimized-5188321007370240

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/msmpeg4dec.c