avcodec/wcmv: Avoid copying frames if they are unchanged
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 19 Feb 2019 18:05:10 +0000 (19:05 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 25 Feb 2019 17:03:24 +0000 (18:03 +0100)
commit976dae8b32f48d17cccfd6b19d2beb01770dfa7c
tree679dc7668a61c12733c586d400dbcca0cbeaee78
parent286a33e42944919774c7386137ae0f546985c260
avcodec/wcmv: Avoid copying frames if they are unchanged

Improves speed of the testcase by about a factor of 10

Fixes: Timeout
Fixes: 13132/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WCMV_fuzzer-5664190616829952

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/wcmv.c