Document pbBufPtr().

Originally committed as revision 18466 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Stefano Sabatini 2009-04-12 09:06:17 +00:00
parent c950c25ac0
commit 53bd67ec89
1 changed files with 4 additions and 1 deletions

View File

@ -259,7 +259,10 @@ static inline void put_sbits(PutBitContext *pb, int bits, int32_t val)
put_bits(pb, bits, val & ((1<<bits)-1)); put_bits(pb, bits, val & ((1<<bits)-1));
} }
/**
* Returns the pointer to the byte where the bitstream writer will put
* the next bit.
*/
static inline uint8_t* pbBufPtr(PutBitContext *s) static inline uint8_t* pbBufPtr(PutBitContext *s)
{ {
#ifdef ALT_BITSTREAM_WRITER #ifdef ALT_BITSTREAM_WRITER