Commit f7a2aab7 authored by Stefano Sabatini's avatar Stefano Sabatini
Browse files

Doxygenate init_put_bits().

Originally committed as revision 18423 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 64bde197
...@@ -89,6 +89,12 @@ typedef struct PutBitContext { ...@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment