tools/target_dec_fuzzer: Fuzz AV_CODEC_FLAG2_EXPORT_MVS

This should increase coverage

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2020-02-07 14:12:17 +01:00
parent a0fd56f55e
commit 9fa30cf855
1 changed files with 2 additions and 0 deletions

View File

@ -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);