diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-06 12:50:02 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-06 12:50:02 +0000 |
commit | aaed943b403d90335816ae7a8e486ffa834cd383 (patch) | |
tree | 1262948f006f2cef62c6be9fc6a9face0b27baa8 /decoder.h | |
parent | Adding debian version 1.6~pre1-2. (diff) | |
download | clzip-aaed943b403d90335816ae7a8e486ffa834cd383.tar.xz clzip-aaed943b403d90335816ae7a8e486ffa834cd383.zip |
Merging upstream version 1.6~pre2.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'decoder.h')
-rw-r--r-- | decoder.h | 2 |
1 files changed, 1 insertions, 1 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, |