PR #22458 opened by Pierre-Anthony Lemieux (palemieux) URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22458 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22458.patch
Currently, verifying an oss-fuzz report requires using the full OSS Fuzz machinery. This allows the target_dec_fuzzer to be build without OSS Fuzz using the fuzz sanitizer option: `--toolchain=clang-asan-ubsan-fuzz` >From bf6ced920e0408bef8fdee6e44e8115670b8011a Mon Sep 17 00:00:00 2001 From: Pierre-Anthony Lemieux <[email protected]> Date: Mon, 9 Mar 2026 15:26:19 -0700 Subject: [PATCH] fuzzer: support standalone target_dec_fuzzer builds --- tools/target_dec_fuzzer.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tools/target_dec_fuzzer.c b/tools/target_dec_fuzzer.c index 594f04f48b..53cf665d3b 100644 --- a/tools/target_dec_fuzzer.c +++ b/tools/target_dec_fuzzer.c @@ -63,7 +63,14 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size); -extern const FFCodec * codec_list[]; +// Stub for standalone builds; building for oss-fuzz generates a dedicated codec_list +#if !CONFIG_OSSFUZZ +const FFCodec * codec_list[] = { + NULL, + NULL, + NULL +}; +#endif static void error(const char *err) { -- 2.52.0 _______________________________________________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
