summaryrefslogtreecommitdiff
path: root/libavcodec/bitstream.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-04-11 21:01:30 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-04-11 21:01:30 +0000
commit930cab5944268c72722ff55ffd0daf0d55c44453 (patch)
treeef0e241a93dd58ae53b2f2d4f09b5c7287cc3cad /libavcodec/bitstream.h
parentcfb9b3550bd62050a2fe2a900c310495b81e327e (diff)
downloadffmpeg-930cab5944268c72722ff55ffd0daf0d55c44453.tar.gz
Document ff_put_string().
Originally committed as revision 18447 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 519c1884ef..a20efc710a 100644
--- a/libavcodec/bitstream.h
+++ b/libavcodec/bitstream.h
@@ -159,6 +159,12 @@ static inline void flush_put_bits(PutBitContext *s)
* Pads the bitstream with zeros up to the next byte boundary.
*/
void align_put_bits(PutBitContext *s);
+
+/**
+ * Puts the string \p s in the bitstream.
+ *
+ * @param terminate_string 0-terminates the written string if value is 1
+ */
void ff_put_string(PutBitContext * pbc, const char *s, int terminate_string);
/**