Mercurial > libavcodec.hg
changeset 9389:0d7c2dee6b4d libavcodec
Doxygenate init_put_bits().
author | stefano |
---|---|
date | Fri, 10 Apr 2009 17:30:42 +0000 |
parents | 2313bf51945b |
children | 79651ce180f2 |
files | bitstream.h |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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) {