avcodec/ivi: Move buffer/block end check to caller of ivi_dc_transform()
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 11 Apr 2019 22:09:57 +0000 (00:09 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 21 Apr 2019 22:59:10 +0000 (00:59 +0200)
commit3b2994552a9882b54c34a401b0f89078c7474b0b
tree19bdea3f4d17988505726e5e6cdbd8a2511cb9a9
parent49881ea3431b0d48fc9889a848b21c1c71d02263
avcodec/ivi: Move buffer/block end check to caller of ivi_dc_transform()

Fixes: assertion failure
Fixes: 14078/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_INDEO5_fuzzer-5760571284127744

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