]> wimlib.net Git - wimlib/blobdiff - src/lzx_decompress.c
lzx_common: make lzx_offset_slot_base hold unadjusted offsets
[wimlib] / src / lzx_decompress.c
index 36d94ebf63d36d7b8d9d5e38c7f78c42ad054bb1..102c321d52ad138f611567e5e15eaf674dddcfc9 100644 (file)
@@ -414,9 +414,6 @@ lzx_decompress_block(struct lzx_decompressor *d, struct input_bitstream *is,
                                offset += bitstream_read_bits(is, num_extra_bits);
                        }
 
-                       /* Adjust the offset.  */
-                       offset -= LZX_OFFSET_ADJUSTMENT;
-
                        /* Update the match offset LRU queue.  */
                        STATIC_ASSERT(LZX_NUM_RECENT_OFFSETS == 3);
                        recent_offsets[2] = recent_offsets[1];