Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit d08a294

Browse files
committed
Update initial memory from 1 GB to 2 GB
2 parents 3b65cec + 355dc65 commit d08a294

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wasm/build-scripts/build-ffmpeg.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ FLAGS=(
2121
-s EXPORT_NAME="createFFmpegCore" # assign export name for browser
2222
-s EXPORTED_FUNCTIONS="[_main, _proxy_main]" # export main and proxy_main funcs
2323
-s EXTRA_EXPORTED_RUNTIME_METHODS="[FS, cwrap, ccall, setValue, writeAsciiToMemory]" # export preamble funcs
24-
-s INITIAL_MEMORY=1073741824 # 1073741824 bytes = 1 GB
24+
-s INITIAL_MEMORY=2146435072 # 64 KB * 1024 * 16 * 2047 = 2146435072 bytes ~= 2 GB
2525
$OPTIM_FLAGS
2626
)
2727
echo "FFMPEG_EM_FLAGS=${FLAGS[@]}"

0 commit comments

Comments
 (0)