Mercurial > libavcodec.hg
comparison bitstream.h @ 9395:14e8350b27b4 libavcodec
Clarify documentation for put_bits_count().
author | stefano |
---|---|
date | Sat, 11 Apr 2009 13:04:33 +0000 |
parents | a5bc2084bd6a |
children | 9a1c34f662e4 |
comparison
equal
deleted
inserted
replaced
9394:d322325fc00e | 9395:14e8350b27b4 |
---|---|
115 s->bit_buf=0; | 115 s->bit_buf=0; |
116 #endif | 116 #endif |
117 } | 117 } |
118 | 118 |
119 /** | 119 /** |
120 * Returns the number of bits output. | 120 * Returns the total number of bits written to the bitstream. |
121 */ | 121 */ |
122 static inline int put_bits_count(PutBitContext *s) | 122 static inline int put_bits_count(PutBitContext *s) |
123 { | 123 { |
124 #ifdef ALT_BITSTREAM_WRITER | 124 #ifdef ALT_BITSTREAM_WRITER |
125 return s->index; | 125 return s->index; |