diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 05:06:11 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 05:06:11 +0000 |
commit | 287887ae1eaaa75243f2adbff20b816b8fc7a381 (patch) | |
tree | 0b08eefdcd7bb8040d948877c6322397ff8f840e /decoder.h | |
parent | Adding debian version 1.5~rc2-2. (diff) | |
download | lunzip-287887ae1eaaa75243f2adbff20b816b8fc7a381.tar.xz lunzip-287887ae1eaaa75243f2adbff20b816b8fc7a381.zip |
Merging upstream version 1.5.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to '')
-rw-r--r-- | decoder.h | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -158,7 +158,7 @@ static inline int Rd_decode_tree6( struct Range_decoder * const rdec, symbol = ( symbol << 1 ) | Rd_decode_bit( rdec, &bm[symbol] ); symbol = ( symbol << 1 ) | Rd_decode_bit( rdec, &bm[symbol] ); symbol = ( symbol << 1 ) | Rd_decode_bit( rdec, &bm[symbol] ); - return symbol - (1 << 6); + return symbol & 0x3F; } static inline int Rd_decode_tree_reversed( struct Range_decoder * const rdec, @@ -256,9 +256,6 @@ struct LZ_decoder void LZd_flush_data( struct LZ_decoder * const d ); -bool LZd_verify_trailer( struct LZ_decoder * const d, - struct Pretty_print * const pp ); - int seek_read( const int fd, uint8_t * const buf, const int size, const int offset ); |