* Skips the given number of bits. * Must only be used if the actual values in the bitstream do not matter. * If n is 0 the behavior is undefined. */
| 320 | * If n is 0 the behavior is undefined. |
| 321 | */ |
| 322 | static inline void skip_put_bits(PutBitContext *s, int n) |
| 323 | { |
| 324 | #ifdef ALT_BITSTREAM_WRITER |
| 325 | s->index += n; |
| 326 | #else |
| 327 | s->bit_left -= n; |
| 328 | s->buf_ptr-= 4*(s->bit_left>>5); |
| 329 | s->bit_left &= 31; |
| 330 | #endif |
| 331 | } |
| 332 | |
| 333 | /** |
| 334 | * Changes the end of the buffer. |
no outgoing calls
no test coverage detected