]> wimlib.net Git - wimlib/commitdiff
bitstream_read_bits(): Remove bogus assertion
authorEric Biggers <ebiggers3@gmail.com>
Tue, 1 Jan 2013 00:10:50 +0000 (18:10 -0600)
committerEric Biggers <ebiggers3@gmail.com>
Tue, 1 Jan 2013 00:10:50 +0000 (18:10 -0600)
src/decompress.h

index 21d8090efed5a885c44f60ab932b421412f83a0d..a2466456f90019ea1189252cb46cfbdd245246b6 100644 (file)
@@ -120,7 +120,6 @@ static inline int bitstream_read_bits(struct input_bitstream *istream,
        if (ret == 0) {
                *n = bitstream_peek_bits(istream, num_bits);
                bitstream_remove_bits(istream, num_bits);
-               wimlib_assert2(istream->bitsleft < 16);
        } else {
                ERROR("bitstream_read_bits(): Input buffer exhausted");
        }