mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-11 18:09:36 +00:00
tools/target_dec_fuzzer: Support setting AV_CODEC_FLAG2_FAST
This should improve coverage Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
3ae87bb3c1
commit
5ac8675cb1
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user