Revert "Make sure chunk to compress is of a minimum size."

This reverts commit 8dd1b6ea58.
This commit is contained in:
Con Kolivas 2010-12-08 21:23:41 +11:00
parent e0265b33e1
commit 5be0f6c5c9

2
rzip.c
View file

@ -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;