Anton Khirnov: > +/** > + * Return n bits from the buffer, n has to be in the 0-32 range. > + */ > +static inline uint32_t bitstream_read(BitstreamContext *bc, unsigned int n) > +{ > + if (!n) > + return 0; > + > + if (n > bc->bits_left) { > + refill_32(bc); > + if (bc->bits_left < 32) > + bc->bits_left = n;
This branch should be under #if !UNCHECKED_BITSTREAM_READER. > + } > + > + return get_val(bc, n); > +} > + _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".