* Skips the given number of bytes. * PutBitContext must be flushed & aligned to a byte boundary before calling this. */
| 303 | * PutBitContext must be flushed & aligned to a byte boundary before calling this. |
| 304 | */ |
| 305 | static inline void skip_put_bytes(PutBitContext *s, int n) |
| 306 | { |
| 307 | assert((put_bits_count(s)&7)==0); |
| 308 | #ifdef ALT_BITSTREAM_WRITER |
| 309 | FIXME may need some cleaning of the buffer |
| 310 | s->index += n<<3; |
| 311 | #else |
| 312 | assert(s->bit_left==32); |
| 313 | s->buf_ptr += n; |
| 314 | #endif |
| 315 | } |
| 316 | |
| 317 | /** |
| 318 | * Skips the given number of bits. |
no test coverage detected