fuzzer_set_property: set duration to 0.1s

It looks like it is faster than 0.01s.
This commit is contained in:
Kacper Michajłow 2024-07-06 18:25:56 +02:00
parent b3320ac64a
commit 09b25771e8
1 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
.num = 1, .num = 1,
.values = &(mpv_node) { .values = &(mpv_node) {
.format = MPV_FORMAT_STRING, .format = MPV_FORMAT_STRING,
.u.string = "av://lavfi:sine=d=0.01", .u.string = "av://lavfi:sine=d=0.1",
}, },
}, },
}; };
@ -101,7 +101,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
check_error(mpv_set_option(ctx, "external-files", MPV_FORMAT_NODE, &node)); check_error(mpv_set_option(ctx, "external-files", MPV_FORMAT_NODE, &node));
check_error(mpv_set_option(ctx, "sub-files", MPV_FORMAT_NODE, &node)); check_error(mpv_set_option(ctx, "sub-files", MPV_FORMAT_NODE, &node));
const char *cmd[] = {"loadfile", "av://lavfi:yuvtestsrc=d=0.01", NULL}; const char *cmd[] = {"loadfile", "av://lavfi:yuvtestsrc=d=0.1", NULL};
check_error(mpv_command(ctx, cmd)); check_error(mpv_command(ctx, cmd));
bool loaded = false; bool loaded = false;