Update API

This commit is contained in:
Jerome Wu
2022-09-23 17:33:01 +08:00
parent 7ced0478da
commit edb05a6572
8 changed files with 16 additions and 16 deletions

View File

@@ -50,7 +50,7 @@ function printErr(message) {
Module["logger"]({ type: "stderr", message });
}
function exec(_args) {
function exec(..._args) {
const args = [...Module["DEFAULT_ARGS"], ..._args];
try {
Module["_ffmpeg"](args.length, stringsToPtr(args));