bitstream_read_bits(): Remove bogus assertion
[wimlib] / 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");
        }