mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
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:
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user