summaryrefslogtreecommitdiffstats
path: root/decoder.c
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 14:08:08 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 14:08:08 +0000
commitcffb4d6baffb84bc4f2f168ae3be7431e7a19a3e (patch)
tree52b702a077e13b87c1f94fdc7f9f9f537facc8e7 /decoder.c
parentAdding debian version 1.7~rc1-1. (diff)
downloadlzlib-cffb4d6baffb84bc4f2f168ae3be7431e7a19a3e.tar.xz
lzlib-cffb4d6baffb84bc4f2f168ae3be7431e7a19a3e.zip
Merging upstream version 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;