mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-04-11 15:47:06 +08:00
fix: 没有释放解码器的内存
This commit is contained in:
parent
a3ad9815aa
commit
0c21d99d57
@ -1,3 +0,0 @@
|
||||
for %%i in (*.jpg) do (
|
||||
ffmpeg -i "%%i" -q:v 70 "%%~ni.webp"
|
||||
)
|
@ -116,6 +116,7 @@ export abstract class AudioDecoder {
|
||||
decodedData.channelData.forEach((v, i) => {
|
||||
buffer.copyToChannel(v, i);
|
||||
});
|
||||
decoder.destroy();
|
||||
return buffer;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user