From 25f441b74019febecdbc097e0cb87b4570b918bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Sat, 3 Aug 2024 11:09:51 +0200 Subject: [PATCH] fuzzer_set_property: ensure idle is enabled It is used in play loop to check if playback ended cleanly. Don't allow set_property to disable idle. --- fuzzers/fuzzer_set_property.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fuzzers/fuzzer_set_property.c b/fuzzers/fuzzer_set_property.c index c18fd48ff5..210b36d041 100644 --- a/fuzzers/fuzzer_set_property.c +++ b/fuzzers/fuzzer_set_property.c @@ -84,6 +84,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) 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")); + check_error(mpv_set_option_string(ctx, "idle", "yes")); mpv_node node = { .format = MPV_FORMAT_NODE_ARRAY,