diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 13:49:41 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 13:49:41 +0000 |
commit | c794d14492b4ee65896b675054f22e899b57a627 (patch) | |
tree | 2b81b1a777641831de03b22d16af14c2b7830e8a /decoder.h | |
parent | Adding upstream version 1.5~rc1. (diff) | |
download | lzlib-c794d14492b4ee65896b675054f22e899b57a627.tar.xz lzlib-c794d14492b4ee65896b675054f22e899b57a627.zip |
Adding upstream version 1.5.upstream/1.5
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'decoder.h')
-rw-r--r-- | decoder.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -326,7 +326,7 @@ struct LZ_decoder 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]; @@ -405,7 +405,7 @@ static inline bool LZd_init( struct LZ_decoder * const decoder, Bm_array_init( decoder->bm_rep1, states ); Bm_array_init( decoder->bm_rep2, states ); Bm_array_init( decoder->bm_len[0], states * pos_states ); - Bm_array_init( decoder->bm_dis_slot[0], max_dis_states * (1 << dis_slot_bits) ); + Bm_array_init( decoder->bm_dis_slot[0], dis_states * (1 << dis_slot_bits) ); Bm_array_init( decoder->bm_dis, modeled_distances - end_dis_model ); Bm_array_init( decoder->bm_align, dis_align_size ); |