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>
Fri, 19 Apr 2019 19:06:09 +0000 (21:06 +0200)
commit110dce96331529a13cc815d3c852aed9d37f83d0
treec21530718811001da2b656313093168f3c9a61c6
parent837820f385af699f9bee5e2ba3169dda15e5894d
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>
libavcodec/ivi.c