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>
Wed, 13 Mar 2019 23:24:44 +0000 (00:24 +0100)
commitb8dd1d2d4bde740f61ba10eea399109c5e772da9
treeba56ebc12774a4b441322a6b519307f8b9c33852
parent92335fc02b2c86536d161db34dfbeab85bc74e75
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