diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2020-02-07 14:12:17 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-07-17 10:48:27 +0200 |
commit | 9fa30cf85543258bf562216c2b557f76d776884e (patch) | |
tree | cdcc63f340ad402b27d0a81ca2182ea7454db767 /tools | |
parent | a0fd56f55e12427098b15b8680f9b9b6c2ef11d5 (diff) | |
download | ffmpeg-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.c | 2 |
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); |