From 006e85e57e005079065991a735a5007ab99f7071 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 16 Feb 2018 23:53:52 +0100 Subject: Adding upstream version 1.20. Signed-off-by: Daniel Baumann --- encoder.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'encoder.h') diff --git a/encoder.h b/encoder.h index 1cd2699..f2edc43 100644 --- a/encoder.h +++ b/encoder.h @@ -1,5 +1,5 @@ /* Lzip - LZMA lossless data compressor - Copyright (C) 2008-2017 Antonio Diaz Diaz. + Copyright (C) 2008-2018 Antonio Diaz Diaz. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -252,7 +252,7 @@ class LZ_encoder : public LZ_encoder_base int sequence_optimizer( const int reps[num_rep_distances], const State state ); - enum { before = max_num_trials, + enum { before_size = max_num_trials, // bytes to keep in buffer after pos after_size = ( 2 * max_match_len ) + 1, dict_factor = 2, @@ -265,7 +265,7 @@ public: LZ_encoder( const int dict_size, const int len_limit, const int ifd, const int outfd ) : - LZ_encoder_base( before, dict_size, after_size, dict_factor, + LZ_encoder_base( before_size, dict_size, after_size, dict_factor, num_prev_positions23, pos_array_factor, ifd, outfd ), cycles( ( len_limit < max_match_len ) ? 16 + ( len_limit / 2 ) : 256 ), match_len_limit( len_limit ), -- cgit v1.2.3