mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avcodec/get_bits: Document skip_bits_long()
Found-by: Kieran Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
9703b7d05f
commit
6261ef4251
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user