Originally committed as revision 20638 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini authored on 2009/11/28 19:21:10... | ... |
@@ -296,7 +296,8 @@ static inline uint8_t* put_bits_ptr(PutBitContext *s) |
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,7 +313,8 @@ static inline void skip_put_bytes(PutBitContext *s, int n){ |
312 | 312 |
* Must only be used if the actual values in the bitstream do not matter. |
313 | 313 |
* If n is 0 the behavior is undefined. |
314 | 314 |
*/ |
315 |
-static inline void skip_put_bits(PutBitContext *s, int n){ |
|
315 |
+static inline void skip_put_bits(PutBitContext *s, int n) |
|
316 |
+{ |
|
316 | 317 |
#ifdef ALT_BITSTREAM_WRITER |
317 | 318 |
s->index += n; |
318 | 319 |
#else |
... | ... |
@@ -327,7 +329,8 @@ static inline void skip_put_bits(PutBitContext *s, int n){ |
327 | 327 |
* |
328 | 328 |
* @param size the new size in bytes of the buffer where to put bits |
329 | 329 |
*/ |
330 |
-static inline void set_put_bits_buffer_size(PutBitContext *s, int size){ |
|
330 |
+static inline void set_put_bits_buffer_size(PutBitContext *s, int size) |
|
331 |
+{ |
|
331 | 332 |
s->buf_end= s->buf + size; |
332 | 333 |
} |
333 | 334 |
|