summaryrefslogtreecommitdiffstats
path: root/decoder.h
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 13:49:25 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 13:49:25 +0000
commita9c3fa13430e0d6d6a0b61e70a8cfb1b15e84d4e (patch)
tree28dd368a0fc8339a5b027678819407ff0a41333e /decoder.h
parentAdding debian version 1.4-3. (diff)
downloadlzlib-a9c3fa13430e0d6d6a0b61e70a8cfb1b15e84d4e.tar.xz
lzlib-a9c3fa13430e0d6d6a0b61e70a8cfb1b15e84d4e.zip
Merging upstream version 1.5~rc1.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'decoder.h')
-rw-r--r--decoder.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/decoder.h b/decoder.h
index c8d3786..6614437 100644
--- a/decoder.h
+++ b/decoder.h
@@ -1,4 +1,4 @@
-/* Lzlib - A compression library for lzip files
+/* Lzlib - Compression library for lzip files
Copyright (C) 2009, 2010, 2011, 2012, 2013 Antonio Diaz Diaz.
This library is free software: you can redistribute it and/or modify
@@ -33,8 +33,8 @@ struct Range_decoder
unsigned long long member_position;
uint32_t code;
uint32_t range;
- bool reload_pending;
bool at_stream_end;
+ bool reload_pending;
};
static inline bool Rd_init( struct Range_decoder * const rdec )
@@ -43,8 +43,8 @@ static inline bool Rd_init( struct Range_decoder * const rdec )
rdec->member_position = 0;
rdec->code = 0;
rdec->range = 0xFFFFFFFFU;
- rdec->reload_pending = false;
rdec->at_stream_end = false;
+ rdec->reload_pending = false;
return true;
}
@@ -311,7 +311,6 @@ struct LZ_decoder
unsigned long long partial_data_pos;
int dictionary_size;
uint32_t crc;
- int member_version;
bool member_finished;
bool verify_trailer_pending;
unsigned rep0; /* rep[0-3] latest four distances */
@@ -391,7 +390,6 @@ static inline bool LZd_init( struct LZ_decoder * const decoder,
return false;
decoder->partial_data_pos = 0;
decoder->crc = 0xFFFFFFFFU;
- decoder->member_version = Fh_version( header );
decoder->member_finished = false;
decoder->verify_trailer_pending = false;
decoder->rep0 = 0;