* 潜在崩溃修复

This commit is contained in:
2024-05-21 00:37:25 +08:00
parent 66c9d3de20
commit a2469c9fb7
+1 -2
View File
@@ -111,8 +111,7 @@ void StreamOutput::Compress(Memory::CompressMode mode)
{
log_err("无效的压缩模式:", (int)mode);
}
memcpy(_buf.data(), buf.data(), buf.size());
_buf = buf;
_head = buf.size();
}