mirror of https://github.com/mpv-player/mpv
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:
parent
05b0b7cf65
commit
3cc42083aa
|
@ -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, "loop-playlist", "no"));
|
||||||
check_error(mpv_set_option_string(ctx, "pause", "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, "untimed", "yes"));
|
||||||
|
check_error(mpv_set_option_string(ctx, "sstep", "0"));
|
||||||
|
|
||||||
mpv_node node = {
|
mpv_node node = {
|
||||||
.format = MPV_FORMAT_NODE_ARRAY,
|
.format = MPV_FORMAT_NODE_ARRAY,
|
||||||
|
|
Loading…
Reference in New Issue