summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2020-02-07 14:12:17 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2021-07-17 10:48:27 +0200
commit9fa30cf85543258bf562216c2b557f76d776884e (patch)
treecdcc63f340ad402b27d0a81ca2182ea7454db767 /tools
parenta0fd56f55e12427098b15b8680f9b9b6c2ef11d5 (diff)
downloadffmpeg-9fa30cf85543258bf562216c2b557f76d776884e.tar.gz
tools/target_dec_fuzzer: Fuzz AV_CODEC_FLAG2_EXPORT_MVS
This should increase coverage Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tools')
-rw-r--r--tools/target_dec_fuzzer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/target_dec_fuzzer.c b/tools/target_dec_fuzzer.c
index 60a1cdd027..a06cf15638 100644
--- a/tools/target_dec_fuzzer.c
+++ b/tools/target_dec_fuzzer.c
@@ -246,6 +246,8 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
}
if ((flags & 0x10) && c->id != AV_CODEC_ID_H264)
ctx->flags2 |= AV_CODEC_FLAG2_FAST;
+ if (flags & 0x80)
+ ctx->flags2 |= AV_CODEC_FLAG2_EXPORT_MVS;
if (flags & 0x40)
av_force_cpu_flags(0);