avcodec/error_resilience: Use a symmetric check for skipping MV estimation
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 19 Feb 2019 17:41:42 +0000 (18:41 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 25 Feb 2019 17:03:24 +0000 (18:03 +0100)
commite4289cb253e29e4d62dc46759eb1a45d8f6d82df
tree4226a479cf2f2f6baa0869773f98c40733e615f4
parent32d022d26db44cf153ab953360bc995976cc695b
avcodec/error_resilience: Use a symmetric check for skipping MV estimation

This speeds up the testcase by a factor of 4

Fixes: Timeout
Fixes: 13100/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WMV2_fuzzer-5767533905313792

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