From 46f8520e36af40c06d47f978838ee86858caa474 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 7 Nov 2015 06:03:37 +0100 Subject: Merging upstream version 1.4. Signed-off-by: Daniel Baumann --- decoder.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'decoder.h') diff --git a/decoder.h b/decoder.h index 45d8aa9..063511b 100644 --- a/decoder.h +++ b/decoder.h @@ -245,7 +245,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<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], len_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 ); -- cgit v1.2.3