Skip to content

Commit efac247

Browse files
authored
Merge pull request #824 from Funzinator/main
increase stack size to 5 MB to support libopus
2 parents 74ed993 + b409e36 commit efac247

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: 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)