Mercurial > libavcodec.hg
comparison bitstream.h @ 9404:72d354a91367 libavcodec
Add documentation for skip_put_bytes().
author | stefano |
---|---|
date | Sat, 11 Apr 2009 14:49:46 +0000 |
parents | 12fe11381b21 |
children | 9fc81340a5a8 |
comparison
equal
deleted
inserted
replaced
9403:12fe11381b21 | 9404:72d354a91367 |
---|---|
333 return s->buf_ptr; | 333 return s->buf_ptr; |
334 #endif | 334 #endif |
335 } | 335 } |
336 | 336 |
337 /** | 337 /** |
338 * | 338 * Skips the given number of bytes. |
339 * PutBitContext must be flushed & aligned to a byte boundary before calling this. | 339 * PutBitContext must be flushed & aligned to a byte boundary before calling this. |
340 */ | 340 */ |
341 static inline void skip_put_bytes(PutBitContext *s, int n){ | 341 static inline void skip_put_bytes(PutBitContext *s, int n){ |
342 assert((put_bits_count(s)&7)==0); | 342 assert((put_bits_count(s)&7)==0); |
343 #ifdef ALT_BITSTREAM_WRITER | 343 #ifdef ALT_BITSTREAM_WRITER |