fuzzer_set_property: reset sstep to 0 to avoid seeking loop

It would seek and keep player open. Not interesting to change this
behaviour, so just skip it for fuzzers.
This commit is contained in:
Kacper Michajłow 2024-07-14 00:58:23 +02:00
parent 05b0b7cf65
commit 3cc42083aa
1 changed files with 1 additions and 0 deletions

View File

@ -83,6 +83,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
check_error(mpv_set_option_string(ctx, "loop-playlist", "no"));
check_error(mpv_set_option_string(ctx, "pause", "no"));
check_error(mpv_set_option_string(ctx, "untimed", "yes"));
check_error(mpv_set_option_string(ctx, "sstep", "0"));
mpv_node node = {
.format = MPV_FORMAT_NODE_ARRAY,