Fix lz4_lg compress

This commit is contained in:
LoveSy 2022-02-11 10:37:59 +08:00 committed by John Wu
parent 7fcb63230f
commit 8edf556c9e

View File

@ -522,7 +522,7 @@ protected:
return false;
}
if (bwrite(&block_sz, sizeof(block_sz)) && bwrite(out_buf, block_sz)) {
in_total += sizeof(block_sz) + block_sz;
in_total += len;
return true;
}
return false;