diff options
author | James Almer <jamrial@gmail.com> | 2024-03-15 08:56:53 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2024-03-15 22:38:13 -0300 |
commit | aca7037e018d15e2955f28967c806af079a4075d (patch) | |
tree | dfb57819e5285eafa7fa1cdd577709078401000c | |
parent | b47abd5737eed9304fc808bc7a1043c55b21263f (diff) | |
download | ffmpeg-aca7037e018d15e2955f28967c806af079a4075d.tar.gz |
tools/target_dec_fuzzer: force experimental flag for decoders that need it
Otherwise they will not even open.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
-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 84b646b7f4..a7642057f3 100644 --- a/tools/target_dec_fuzzer.c +++ b/tools/target_dec_fuzzer.c @@ -333,6 +333,8 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { ctx->max_samples = maxsamples_per_frame; ctx->get_buffer2 = fuzz_get_buffer2; + if (c->p.capabilities & AV_CODEC_CAP_EXPERIMENTAL) + ctx->strict_std_compliance = FF_COMPLIANCE_EXPERIMENTAL; if (size > 1024) { GetByteContext gbc; |