Message ID | 20240315115653.846-1-jamrial@gmail.com |
---|---|
State | Accepted |
Commit | aca7037e018d15e2955f28967c806af079a4075d |
Headers | show |
Series | [FFmpeg-devel] tools/target_dec_fuzzer: force experimental flag for decoders that need it | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
On Fri, Mar 15, 2024 at 08:56:53AM -0300, James Almer wrote: > Otherwise they will not even open. > > Signed-off-by: James Almer <jamrial@gmail.com> > --- > tools/target_dec_fuzzer.c | 2 ++ > 1 file changed, 2 insertions(+) should be ok if it works thx [...]
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;
Otherwise they will not even open. Signed-off-by: James Almer <jamrial@gmail.com> --- tools/target_dec_fuzzer.c | 2 ++ 1 file changed, 2 insertions(+)