Commit 5ac8675c authored by Michael Niedermayer's avatar Michael Niedermayer

tools/target_dec_fuzzer: Support setting AV_CODEC_FLAG2_FAST

This should improve coverage
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 3ae87bb3
......@@ -199,6 +199,8 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
if (flags & 8)
ctx->err_recognition |= AV_EF_EXPLODE;
}
if (flags & 0x10)
ctx->flags2 |= AV_CODEC_FLAG2_FAST;
extradata_size = bytestream2_get_le32(&gbc);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment