aboutsummaryrefslogtreecommitdiffstats
path: root/tools/target_swr_fuzzer.c
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2025-07-26 05:01:14 +0200
committerKacper Michajłow <kasper93@gmail.com>2025-08-05 03:27:54 +0200
commitc24b9b4b73989fb360f486f5f45e63b36e42c9b2 (patch)
treed098809542abe9d6e9e88465b8edbaff149c1721 /tools/target_swr_fuzzer.c
parent8b5db38dc6d0bec05ce7e4c1451986055032ed9c (diff)
downloadffmpeg-c24b9b4b73989fb360f486f5f45e63b36e42c9b2.tar.gz
tools/target_fuzzer: don't spam stderr
Printing dummy logs during fuzzing can significantly slow the process and blow the size of logs, making them both unredable and huge. Keep the loggging commented-out for easy local restore if needed. Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
Diffstat (limited to 'tools/target_swr_fuzzer.c')
-rw-r--r--tools/target_swr_fuzzer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/target_swr_fuzzer.c b/tools/target_swr_fuzzer.c
index 59fa24af64..8100e99524 100644
--- a/tools/target_swr_fuzzer.c
+++ b/tools/target_swr_fuzzer.c
@@ -110,9 +110,9 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
av_channel_layout_describe(& in_ch_layout, in_layout_string, sizeof( in_layout_string));
av_channel_layout_describe(&out_ch_layout, out_layout_string, sizeof(out_layout_string));
- fprintf(stderr, "%s %d %s -> %s %d %s\n",
- av_get_sample_fmt_name( in_sample_fmt), in_sample_rate, in_layout_string,
- av_get_sample_fmt_name(out_sample_fmt), out_sample_rate, out_layout_string);
+ // fprintf(stderr, "%s %d %s -> %s %d %s\n",
+ // av_get_sample_fmt_name( in_sample_fmt), in_sample_rate, in_layout_string,
+ // av_get_sample_fmt_name(out_sample_fmt), out_sample_rate, out_layout_string);
if (swr_alloc_set_opts2(&swr, &out_ch_layout, out_sample_fmt, out_sample_rate,
&in_ch_layout, in_sample_fmt, in_sample_rate,