summaryrefslogtreecommitdiffstats
path: root/encoder.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--encoder.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/encoder.c b/encoder.c
index 03c3584..2946a05 100644
--- a/encoder.c
+++ b/encoder.c
@@ -1,5 +1,5 @@
/* Clzip - LZMA lossless data compressor
- Copyright (C) 2010-2024 Antonio Diaz Diaz.
+ Copyright (C) 2010-2025 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
@@ -303,7 +303,7 @@ static int LZe_sequence_optimizer( LZ_encoder * const e,
cur_state = e->trials[prev_index].state;
if( prev_index + 1 == cur ) /* len == 1 */
{
- if( dis4 == 0 ) cur_state = St_set_short_rep( cur_state );
+ if( dis4 == 0 ) cur_state = St_set_shortrep( cur_state );
else cur_state = St_set_char( cur_state ); /* literal */
}
else if( dis4 < num_rep_distances ) cur_state = St_set_rep( cur_state );
@@ -569,7 +569,7 @@ bool LZe_encode_member( LZ_encoder * const e,
if( dis > 1 )
Re_encode_bit( &e->eb.renc, &e->eb.bm_rep2[state], dis > 2 );
}
- if( len == 1 ) state = St_set_short_rep( state );
+ if( len == 1 ) state = St_set_shortrep( state );
else
{
Re_encode_len( &e->eb.renc, &e->eb.rep_len_model, len, pos_state );