summaryrefslogtreecommitdiffstats
path: root/encoder.h
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 13:49:48 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 13:49:48 +0000
commit432394cea37e7b08ff3712ce6d42d05e39327a5c (patch)
tree111f85b702d000279ef85d2b68d05dfba8315bb7 /encoder.h
parentAdding debian version 1.5~rc1-1. (diff)
downloadlzlib-432394cea37e7b08ff3712ce6d42d05e39327a5c.tar.xz
lzlib-432394cea37e7b08ff3712ce6d42d05e39327a5c.zip
Merging upstream version 1.5.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'encoder.h')
-rw-r--r--encoder.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/encoder.h b/encoder.h
index c2ec9e1..b3d3c8b 100644
--- a/encoder.h
+++ b/encoder.h
@@ -591,7 +591,7 @@ struct LZ_encoder
Bit_model bm_rep1[states];
Bit_model bm_rep2[states];
Bit_model bm_len[states][pos_states];
- Bit_model bm_dis_slot[max_dis_states][1<<dis_slot_bits];
+ Bit_model bm_dis_slot[dis_states][1<<dis_slot_bits];
Bit_model bm_dis[modeled_distances-end_dis_model];
Bit_model bm_align[dis_align_size];
@@ -605,8 +605,8 @@ struct LZ_encoder
struct Pair pairs[max_match_len+1];
struct Trial trials[max_num_trials];
- int dis_slot_prices[max_dis_states][2*max_dictionary_bits];
- int dis_prices[max_dis_states][modeled_distances];
+ int dis_slot_prices[dis_states][2*max_dictionary_bits];
+ int dis_prices[dis_states][modeled_distances];
int align_prices[dis_align_size];
int align_price_count;
int fill_counter;