History

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.

Kacper Michajłow committed 2 years ago

Commit 25f441b1 parent ec40dcc1 file · +1 −0Browse files

Unified · Split

fuzzers/fuzzer_set_property.c+1−0
@@ -84,6 +84,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) · 83 unmodified lines
8484 check_error(mpv_set_option_string(ctx, "pause", "no"));
8585 check_error(mpv_set_option_string(ctx, "untimed", "yes"));
8686 check_error(mpv_set_option_string(ctx, "sstep", "0"));
87+ check_error(mpv_set_option_string(ctx, "idle", "yes"));
8788
8889 mpv_node node = {
8990 .format = MPV_FORMAT_NODE_ARRAY,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t