fuzzers: set network-timeout to 1 second

We don't expect any data to actually access, so timeout as soon as
possible.
This commit is contained in:
Kacper Michajłow
2024-05-10 03:41:21 +02:00
parent aa3cf6d57b
commit c1d5f0e9c8
4 changed files with 6 additions and 1 deletions

View File

@@ -68,6 +68,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
check_error(mpv_set_option_string(ctx, "untimed", "yes"));
check_error(mpv_set_option_string(ctx, "video-osd", "no"));
check_error(mpv_set_option_string(ctx, "msg-level", "all=trace"));
check_error(mpv_set_option_string(ctx, "network-timeout", "1"));
check_error(mpv_initialize(ctx));