Revision 643570d6 libavcodec/put_bits.h

View differences:

libavcodec/put_bits.h
296 296
 * Skips the given number of bytes.
297 297
 * PutBitContext must be flushed & aligned to a byte boundary before calling this.
298 298
 */
299
static inline void skip_put_bytes(PutBitContext *s, int n){
299
static inline void skip_put_bytes(PutBitContext *s, int n)
300
{
300 301
        assert((put_bits_count(s)&7)==0);
301 302
#ifdef ALT_BITSTREAM_WRITER
302 303
        FIXME may need some cleaning of the buffer
......
312 313
 * Must only be used if the actual values in the bitstream do not matter.
313 314
 * If n is 0 the behavior is undefined.
314 315
 */
315
static inline void skip_put_bits(PutBitContext *s, int n){
316
static inline void skip_put_bits(PutBitContext *s, int n)
317
{
316 318
#ifdef ALT_BITSTREAM_WRITER
317 319
    s->index += n;
318 320
#else
......
327 329
 *
328 330
 * @param size the new size in bytes of the buffer where to put bits
329 331
 */
330
static inline void set_put_bits_buffer_size(PutBitContext *s, int size){
332
static inline void set_put_bits_buffer_size(PutBitContext *s, int size)
333
{
331 334
    s->buf_end= s->buf + size;
332 335
}
333 336

  

Also available in: Unified diff