avcodec/mpeg4videodec: Move decode_studiovisualobject() parsing in the branch for...
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 29 Apr 2018 19:19:14 +0000 (21:19 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 3 May 2018 15:33:51 +0000 (17:33 +0200)
commite03bf251d8784f4d1df2c22381c902087e151e31
tree1fefde10d5fb5b68acd44fcdbc527e932d99193b
parent5abcf45d752df0a3f654833272eb0d7aae34d431
avcodec/mpeg4videodec: Move decode_studiovisualobject() parsing in the branch for visual object parsing

Fixes: runtime error: shift exponent -1 is negative
Fixes: 7510/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MPEG4_fuzzer-5024523356209152

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