avcodec/mpeg4videodec: Fix typo in sprite delta check
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 17 Oct 2018 23:19:36 +0000 (01:19 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 22 Oct 2018 23:44:41 +0000 (01:44 +0200)
commit9c1bb7e8debdbcd8f7786c381e1f90bec9f74a45
tree10c5a2669c932d6190fcebd9cde801521155775c
parentf9cfdf2baefd89fd6ef55afb0832aa1e2155a3b9
avcodec/mpeg4videodec: Fix typo in sprite delta check

Fixes: Integer overflow
Fixes: 10890/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MPEG4_fuzzer-5636062181851136

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