mirror of
https://github.com/facebook/zstd.git
synced 2025-07-30 22:23:13 +03:00
@ -585,7 +585,10 @@ std::uint64_t writeFile(
|
|||||||
std::uint64_t bytesWritten = 0;
|
std::uint64_t bytesWritten = 0;
|
||||||
std::shared_ptr<BufferWorkQueue> out;
|
std::shared_ptr<BufferWorkQueue> out;
|
||||||
// Grab the output queue for each decompression job (in order).
|
// Grab the output queue for each decompression job (in order).
|
||||||
while (outs.pop(out) && !errorHolder.hasError()) {
|
while (outs.pop(out)) {
|
||||||
|
if (errorHolder.hasError()) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if (!decompress) {
|
if (!decompress) {
|
||||||
// If we are compressing and want to write skippable frames we can't
|
// If we are compressing and want to write skippable frames we can't
|
||||||
// start writing before compression is done because we need to know the
|
// start writing before compression is done because we need to know the
|
||||||
|
Reference in New Issue
Block a user