mirror of https://github.com/mpv-player/mpv
fuzzer_set_property: set duration to 0.1s
It looks like it is faster than 0.01s.
This commit is contained in:
parent
b3320ac64a
commit
09b25771e8
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue