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

This commit is contained in:
AncTe committed 2025-01-19 23:50:59 +08:00
1 parent a3ad9815aa
commit 0c21d99d57
2 files changed
+1 -3

No files matched your search

-3
View File
@@ -1,3 +0,0 @@
for %%i in (*.jpg) do (
ffmpeg -i "%%i" -q:v 70 "%%~ni.webp"
)
+1
View File
@@ -116,6 +116,7 @@ export abstract class AudioDecoder {
decodedData.channelData.forEach((v, i) => {
buffer.copyToChannel(v, i);
});
decoder.destroy();
return buffer;
}
}