]> wimlib.net Git - wimlib/blobdiff - src/xpress-decompress.c
xpress-decompress.c: Remove unnecessary bitstream_ensure_bits()
[wimlib] / src / xpress-decompress.c
index ebe0d23b73d6c1eccf23c9b4ee023d0172a13b3d..f060d0b0df2afeccfec25fbae91d41321f6beda6 100644 (file)
@@ -141,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) {