]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
stream.wasm : fix invalid memory access when no segments (#1902)
authorAndrew S <redacted>
Mon, 26 Feb 2024 08:12:35 +0000 (02:12 -0600)
committerGitHub <redacted>
Mon, 26 Feb 2024 08:12:35 +0000 (10:12 +0200)
commit0d8fd8483ae26f1318a989dbc800d4f47f46f890
treec989ef4ba00480080a35acfc5137664f436a4b8d
parent3170841ed9f31466b8d468e3a63a721a2ff95e5e
stream.wasm : fix invalid memory access when no segments (#1902)

No segments may be returned when a smaller sample buffer (EG 2048 samples) is sent to the worker.
examples/stream.wasm/emscripten.cpp