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>
Thu, 21 Mar 2019 09:42:52 +0000 (10:42 +0100)
commit63957591e951b9aafb3f37551020841dca25a1cd
treea8691d91334c7c0aa93a4e500d267feae486d352
parent80c88154441007022eb57f48136d6d9eed3e691f
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>
(cherry picked from commit e4289cb253e29e4d62dc46759eb1a45d8f6d82df)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/error_resilience.c