diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2016-06-01 14:10:12 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2016-06-01 14:10:12 +0000 |
commit | 465daaa8283ffd98c0d0c6ebcd7cd702e5eddc38 (patch) | |
tree | 4a381219062c81e7760d77a54ae5028e60a7fb96 /encoder.h | |
parent | Adding upstream version 1.7. (diff) | |
download | lzlib-465daaa8283ffd98c0d0c6ebcd7cd702e5eddc38.tar.xz lzlib-465daaa8283ffd98c0d0c6ebcd7cd702e5eddc38.zip |
Adding upstream version 1.8.upstream/1.8
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'encoder.h')
-rw-r--r-- | encoder.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,5 @@ /* Lzlib - Compression library for the lzip format - Copyright (C) 2009-2015 Antonio Diaz Diaz. + Copyright (C) 2009-2016 Antonio Diaz Diaz. This library is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -322,6 +322,8 @@ static inline bool LZe_init( struct LZ_encoder * const e, Lp_init( &e->rep_len_prices, &e->eb.rep_len_model, e->match_len_limit ); e->pending_num_pairs = 0; e->num_dis_slots = 2 * real_bits( e->eb.mb.dictionary_size - 1 ); + e->trials[1].prev_index = 0; + e->trials[1].prev_index2 = single_step_trial; e->price_counter = 0; e->dis_price_counter = 0; e->align_price_counter = 0; |