avcodec/wcmv: Copy/Init frame later
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 19 Feb 2019 18:02:07 +0000 (19:02 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 25 Feb 2019 17:03:24 +0000 (18:03 +0100)
commit286a33e42944919774c7386137ae0f546985c260
treef6c241b329fc848fe39a1eb04e76d1cd5c3fb0a1
parente4289cb253e29e4d62dc46759eb1a45d8f6d82df
avcodec/wcmv: Copy/Init frame later

Speeds up error cases
Fixes: 13132/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WCMV_fuzzer-5664190616829952

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/wcmv.c