summaryrefslogtreecommitdiffstats
path: root/decoder.c
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 14:07:54 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 14:07:54 +0000
commitb63c94237d26a4795bf71572a994705b93eb16a8 (patch)
tree2dd5bbdee1bdf4dcfedeb9fdff928ef541b4f50d /decoder.c
parentAdding upstream version 1.7~rc1. (diff)
downloadlzlib-b63c94237d26a4795bf71572a994705b93eb16a8.tar.xz
lzlib-b63c94237d26a4795bf71572a994705b93eb16a8.zip
Adding upstream version 1.7.upstream/1.7
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'decoder.c')
-rw-r--r--decoder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/decoder.c b/decoder.c
index 9acae37..68f192e 100644
--- a/decoder.c
+++ b/decoder.c
@@ -81,7 +81,7 @@ static int LZd_decode_member( struct LZ_decoder * const d )
LZd_peek( d, d->rep0 ) ) );
}
}
- else
+ else /* match or repeated match */
{
int len;
if( Rd_decode_bit( rdec, &d->bm_rep[*state] ) != 0 ) /* 2nd bit */
@@ -111,7 +111,7 @@ static int LZd_decode_member( struct LZ_decoder * const d )
*state = St_set_rep( *state );
len = min_match_len + Rd_decode_len( rdec, &d->rep_len_model, pos_state );
}
- else
+ else /* match */
{
int dis_slot;
const unsigned rep0_saved = d->rep0;