fix: 没有释放解码器的内存

This commit is contained in:
unanmed 2025-01-19 23:50:59 +08:00
parent a3ad9815aa
commit 0c21d99d57
2 changed files with 1 additions and 3 deletions

View File

@ -1,3 +0,0 @@
for %%i in (*.jpg) do (
ffmpeg -i "%%i" -q:v 70 "%%~ni.webp"
)

View File

@ -116,6 +116,7 @@ export abstract class AudioDecoder {
decodedData.channelData.forEach((v, i) => {
buffer.copyToChannel(v, i);
});
decoder.destroy();
return buffer;
}
}