Skip to content

Commit

Permalink
fuzzer_set_property: set duration to 0.1s
Browse files Browse the repository at this point in the history
It looks like it is faster than 0.01s.
  • Loading branch information
kasper93 committed Jul 6, 2024
1 parent a5c2fe1 commit 05987fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fuzzers/fuzzer_set_property.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
.num = 1,
.values = &(mpv_node) {
.format = MPV_FORMAT_STRING,
.u.string = "av://lavfi:sine=d=0.01",
.u.string = "av://lavfi:sine=d=0.1",
},
},
};
Expand All @@ -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, "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));

bool loaded = false;
Expand Down

0 comments on commit 05987fa

Please sign in to comment.