Commit 8edf556c authored by LoveSy's avatar LoveSy Committed by John Wu

Fix lz4_lg compress

parent 7fcb6323
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment