# HG changeset patch # User stefano # Date 1239384642 0 # Node ID 0d7c2dee6b4d6e2219389b7b3c3760911bca11d0 # Parent 2313bf51945ba5984db289ed412f207b8a8a0daf Doxygenate init_put_bits(). diff -r 2313bf51945b -r 0d7c2dee6b4d bitstream.h --- a/bitstream.h Fri Apr 10 17:23:38 2009 +0000 +++ b/bitstream.h Fri Apr 10 17:30:42 2009 +0000 @@ -89,6 +89,12 @@ int size_in_bits; } 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) { if(buffer_size < 0) {