Skip to content

Commit b409e36

Browse files
author
Christopher Beppler
committed
increase stack size to 5 MB
fixes #591 and #775
1 parent 63ea4cc commit b409e36

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build/ffmpeg-wasm.sh

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ CONF_FLAGS=(
3333
-sENVIRONMENT=worker
3434
-sWASM_BIGINT # enable big int support
3535
-sUSE_SDL=2 # use emscripten SDL2 lib port
36+
-sSTACK_SIZE=5MB # increase stack size to support libopus
3637
-sMODULARIZE # modularized to use as a library
3738
${FFMPEG_MT:+ -sINITIAL_MEMORY=1024MB} # ALLOW_MEMORY_GROWTH is not recommended when using threads, thus we use a large initial memory
3839
${FFMPEG_MT:+ -sPTHREAD_POOL_SIZE=32} # use 32 threads

0 commit comments

Comments
 (0)