OSDN Git Service

Document pbBufPtr().
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Sun, 12 Apr 2009 09:06:17 +0000 (09:06 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Sun, 12 Apr 2009 09:06:17 +0000 (09:06 +0000)
Originally committed as revision 18466 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/put_bits.h

index 3bddd44..32b11f6 100644 (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));
 }
 
-
+/**
+ * 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