MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / skip_put_bytes

Function skip_put_bytes

libavcodec/put_bits.h:305–315  ·  view source on GitHub ↗

* Skips the given number of bytes. * PutBitContext must be flushed & aligned to a byte boundary before calling this. */

Source from the content-addressed store, hash-verified

303 * PutBitContext must be flushed & aligned to a byte boundary before calling this.
304 */
305static 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.

Callers 2

ff_copy_bitsFunction · 0.85
escape_FFFunction · 0.85

Calls 1

put_bits_countFunction · 0.85

Tested by

no test coverage detected