summaryrefslogtreecommitdiffstats
path: root/decoder.c
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 05:09:27 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 05:09:27 +0000
commit92533af3edd2386f8fa92e2fd8cdd7217e4529ef (patch)
treede8fba955b26579d3a8450e540e0a900747c70d2 /decoder.c
parentAdding debian version 1.7~pre1-1. (diff)
downloadlunzip-92533af3edd2386f8fa92e2fd8cdd7217e4529ef.tar.xz
lunzip-92533af3edd2386f8fa92e2fd8cdd7217e4529ef.zip
Merging upstream version 1.7.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'decoder.c')
-rw-r--r--decoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder.c b/decoder.c
index 8416adb..8061465 100644
--- a/decoder.c
+++ b/decoder.c
@@ -222,7 +222,7 @@ int LZd_decode_member( struct LZ_decoder * const d,
const int pos_state = LZd_data_position( d ) & pos_state_mask;
if( Rd_decode_bit( rdec, &d->bm_match[state][pos_state] ) == 0 ) /* 1st bit */
{
- const uint8_t prev_byte = LZd_peek1( d );
+ const uint8_t prev_byte = LZd_peek_prev( d );
if( St_is_char( state ) )
{
state -= ( state < 4 ) ? state : 3;