From: Eric Biggers Date: Tue, 1 Jan 2013 00:10:50 +0000 (-0600) Subject: bitstream_read_bits(): Remove bogus assertion X-Git-Tag: v1.2.3~8 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=1bf2548cc5ad9e94951c43b8c223cec058d28294;hp=49893f3a5c7cd5bfe962c3b63b299ee713170b8e bitstream_read_bits(): Remove bogus assertion --- diff --git a/src/decompress.h b/src/decompress.h index 21d8090e..a2466456 100644 --- a/src/decompress.h +++ b/src/decompress.h @@ -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"); }