Mercurial > libavcodec.hg
comparison bitstream.h @ 9407:0129a71aae90 libavcodec
Document ff_put_string().
author | stefano |
---|---|
date | Sat, 11 Apr 2009 21:01:30 +0000 |
parents | 9fc81340a5a8 |
children | e74131a0652d |
comparison
equal
deleted
inserted
replaced
9406:8d51b340393e | 9407:0129a71aae90 |
---|---|
157 | 157 |
158 /** | 158 /** |
159 * Pads the bitstream with zeros up to the next byte boundary. | 159 * Pads the bitstream with zeros up to the next byte boundary. |
160 */ | 160 */ |
161 void align_put_bits(PutBitContext *s); | 161 void align_put_bits(PutBitContext *s); |
162 | |
163 /** | |
164 * Puts the string \p s in the bitstream. | |
165 * | |
166 * @param terminate_string 0-terminates the written string if value is 1 | |
167 */ | |
162 void ff_put_string(PutBitContext * pbc, const char *s, int terminate_string); | 168 void ff_put_string(PutBitContext * pbc, const char *s, int terminate_string); |
163 | 169 |
164 /** | 170 /** |
165 * Copies the content of \p src to the bitstream. | 171 * Copies the content of \p src to the bitstream. |
166 * | 172 * |