diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 13:49:25 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 13:49:25 +0000 |
commit | a9c3fa13430e0d6d6a0b61e70a8cfb1b15e84d4e (patch) | |
tree | 28dd368a0fc8339a5b027678819407ff0a41333e /decoder.h | |
parent | Adding debian version 1.4-3. (diff) | |
download | lzlib-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.h | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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; |