avcodec/ivi: Clear got_p_frame before decoding a new frame using it
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 12 May 2020 22:11:37 +0000 (00:11 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 21 May 2020 07:31:08 +0000 (09:31 +0200)
commit1d633e6a0a61118c9b2d1785d96bdebaa8c38592
treecf3ef1b787399aed882b5f67eede54b05ebbf297
parent2570a8777e7095358b10f679d35641e114a2ab33
avcodec/ivi: Clear got_p_frame before decoding a new frame using it

Fixes: assertion failure
Fixes: 21666/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_INDEO4_fuzzer-5706468994318336

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