avcodec/ivi: Allocate bufs later
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 13 Aug 2019 23:28:09 +0000 (01:28 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 29 Aug 2019 13:57:54 +0000 (15:57 +0200)
commit15a65c13e18464fa3077812f0a21131dcf7830cb
tree41fe4f749c829506d5b32675b66723a6ed1a0d0c
parentba823394f65a5179cc338fc72e37ee7f48c5dac0
avcodec/ivi: Allocate bufs later

Fixes: Timeout (24sec->2sec)
Fixes: 15951/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_INDEO5_fuzzer-5095433266790400

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