# HG changeset patch # User stefano # Date 1259403670 0 # Node ID 7034c66f7e7dac8fbd17260cf1cc715a9ac98a75 # Parent 784409693f1698f6d64153c1b07ec7e377dd6c97 Consistently put braces for function definitions. diff -r 784409693f16 -r 7034c66f7e7d put_bits.h --- a/put_bits.h Sat Nov 28 10:17:43 2009 +0000 +++ b/put_bits.h Sat Nov 28 10:21:10 2009 +0000 @@ -296,7 +296,8 @@ * Skips the given number of bytes. * PutBitContext must be flushed & aligned to a byte boundary before calling this. */ -static inline void skip_put_bytes(PutBitContext *s, int n){ +static inline void skip_put_bytes(PutBitContext *s, int n) +{ assert((put_bits_count(s)&7)==0); #ifdef ALT_BITSTREAM_WRITER FIXME may need some cleaning of the buffer @@ -312,7 +313,8 @@ * Must only be used if the actual values in the bitstream do not matter. * If n is 0 the behavior is undefined. */ -static inline void skip_put_bits(PutBitContext *s, int n){ +static inline void skip_put_bits(PutBitContext *s, int n) +{ #ifdef ALT_BITSTREAM_WRITER s->index += n; #else @@ -327,7 +329,8 @@ * * @param size the new size in bytes of the buffer where to put bits */ -static inline void set_put_bits_buffer_size(PutBitContext *s, int size){ +static inline void set_put_bits_buffer_size(PutBitContext *s, int size) +{ s->buf_end= s->buf + size; }