Doxygenate init_put_bits().

Originally committed as revision 18423 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Stefano Sabatini 2009-04-10 17:30:42 +00:00
parent 64bde1974b
commit f7a2aab7d8
1 changed files with 6 additions and 0 deletions

View File

@ -89,6 +89,12 @@ typedef struct PutBitContext {
int size_in_bits; int size_in_bits;
} PutBitContext; } PutBitContext;
/**
* Initializes the PutBitContext \p s.
*
* @param buffer the buffer where to put bits
* @param buffer_size the size in bytes of \p buffer
*/
static inline void init_put_bits(PutBitContext *s, uint8_t *buffer, int buffer_size) static inline void init_put_bits(PutBitContext *s, uint8_t *buffer, int buffer_size)
{ {
if(buffer_size < 0) { if(buffer_size < 0) {