]> wimlib.net Git - wimlib/blobdiff - src/xpress-decompress.c
win32_apply.c: Use volume handle when enabling short names
[wimlib] / src / xpress-decompress.c
index 7ad47264359cfcaace8a0c253afcccd43a220cf4..f060d0b0df2afeccfec25fbae91d41321f6beda6 100644 (file)
@@ -69,7 +69,6 @@
 #  include "config.h"
 #endif
 
-#include "wimlib.h"
 #include "wimlib/decompressor_ops.h"
 #include "wimlib/decompress_common.h"
 #include "wimlib/xpress.h"
@@ -142,8 +141,6 @@ xpress_lz_decode(struct input_bitstream * restrict istream,
                unsigned sym;
                int ret;
 
-               bitstream_ensure_bits(istream, 16);
-
                sym = read_huffsym(istream, decode_table,
                                   XPRESS_TABLEBITS, XPRESS_MAX_CODEWORD_LEN);
                if (sym < XPRESS_NUM_CHARS) {