aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-04-12 09:06:17 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-04-12 09:06:17 +0000
commit53bd67ec89352692f0e0b886bac03c94768701ce (patch)
tree0063cdfde16996526a46b7d7db9ac619f81ff872
parentc950c25ac08f039951db64c10d98fbb4479bbb59 (diff)
downloadffmpeg-53bd67ec89352692f0e0b886bac03c94768701ce.tar.gz
Document pbBufPtr().
Originally committed as revision 18466 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/put_bits.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libavcodec/put_bits.h b/libavcodec/put_bits.h
index 3bddd44ac0..32b11f6445 100644
--- a/libavcodec/put_bits.h
+++ b/libavcodec/put_bits.h
@@ -259,7 +259,10 @@ static inline void put_sbits(PutBitContext *pb, int bits, int32_t val)
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)
{
#ifdef ALT_BITSTREAM_WRITER