From 69bf8e6b27c11c8dfb0e9794ea43c3b8af72ee38 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Fri, 13 Dec 2013 14:02:37 -0600 Subject: [PATCH] lzx_prepare_block_fast(): Increase max_offset --- src/lzx-compress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lzx-compress.c b/src/lzx-compress.c index ae1cf152..c72fd460 100644 --- a/src/lzx-compress.c +++ b/src/lzx-compress.c @@ -2143,7 +2143,7 @@ lzx_prepare_block_fast(struct lzx_compressor * ctx) * aren't worth choosing when using greedy or lazy parsing. */ .min_match = 3, .max_match = LZX_MAX_MATCH_LEN, - .max_offset = 32768, + .max_offset = LZX_MAX_WINDOW_SIZE, .good_match = LZX_MAX_MATCH_LEN, .nice_match = LZX_MAX_MATCH_LEN, .max_chain_len = LZX_MAX_MATCH_LEN, -- 2.43.0