xpress-decompress.c: Remove unnecessary bitstream_ensure_bits()
authorEric Biggers <ebiggers3@gmail.com>
Sun, 17 Aug 2014 05:33:47 +0000 (00:33 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Sun, 17 Aug 2014 05:33:47 +0000 (00:33 -0500)
src/xpress-decompress.c

index ebe0d23..f060d0b 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) {