Commit 6261ef42 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/get_bits: Document skip_bits_long()

Found-by: Kieran
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 9703b7d0
......@@ -202,6 +202,13 @@ static inline int get_bits_count(const GetBitContext *s)
return s->index;
}
/**
* Skips the specified number of bits.
* @param n the number of bits to skip,
* For the UNCHECKED_BITSTREAM_READER this must not cause the distance
* from the start to overflow int32_t. Staying within the bitstream + padding
* is sufficient, too.
*/
static inline void skip_bits_long(GetBitContext *s, int n)
{
#if UNCHECKED_BITSTREAM_READER
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment