mirror of
https://github.com/ckolivas/lrzip.git
synced 2025-12-06 07:12:00 +01:00
Revert "Make sure chunk to compress is of a minimum size."
This reverts commit 8dd1b6ea58.
This commit is contained in:
parent
e0265b33e1
commit
5be0f6c5c9
2
rzip.c
2
rzip.c
|
|
@ -544,7 +544,7 @@ static void hash_search(struct rzip_state *st, double pct_base, double pct_multi
|
||||||
/* Flush stream 1 at equal intervals if the buffer has not
|
/* Flush stream 1 at equal intervals if the buffer has not
|
||||||
* filled to bufsize */
|
* filled to bufsize */
|
||||||
if (sinfo->s[1].eos < p / (st->chunk_size / control.threads) &&
|
if (sinfo->s[1].eos < p / (st->chunk_size / control.threads) &&
|
||||||
sinfo->s[1].buflen >= STREAM_BUFSIZE) {
|
p >= STREAM_BUFSIZE) {
|
||||||
flush_buffer(sinfo, 1);
|
flush_buffer(sinfo, 1);
|
||||||
}
|
}
|
||||||
sb.offset_search = p;
|
sb.offset_search = p;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue