summaryrefslogtreecommitdiffstats
path: root/libavcodec/bitstream.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-04-10 17:30:42 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-04-10 17:30:42 +0000
commitf7a2aab7d88315d000994c84a99d25ec1fe53095 (patch)
tree590582d26bf2aecfeb2f5dfea2bac9b887f67ca2 /libavcodec/bitstream.h
parent64bde1974be4ab53f5ec468ef8f8c4cf18c27c52 (diff)
downloadffmpeg-streaming-f7a2aab7d88315d000994c84a99d25ec1fe53095.zip
ffmpeg-streaming-f7a2aab7d88315d000994c84a99d25ec1fe53095.tar.gz
Doxygenate init_put_bits().
Originally committed as revision 18423 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/bitstream.h')
-rw-r--r--libavcodec/bitstream.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/bitstream.h b/libavcodec/bitstream.h
index 263fe9a..e586637 100644
--- a/libavcodec/bitstream.h
+++ b/libavcodec/bitstream.h
@@ -89,6 +89,12 @@ typedef struct PutBitContext {
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) {
OpenPOWER on IntegriCloud