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

Function skip_1stop_8data_bits

libavcodec/get_bits.h:699–711  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

697}
698
699static inline int skip_1stop_8data_bits(GetBitContext *gb)
700{
701 if (get_bits_left(gb) <= 0)
702 return AVERROR_INVALIDDATA;
703
704 while (get_bits1(gb)) {
705 skip_bits(gb, 8);
706 if (get_bits_left(gb) <= 0)
707 return AVERROR_INVALIDDATA;
708 }
709
710 return 0;
711}
712
713#endif // CACHED_BITSTREAM_READER
714

Callers 11

vaapi_mpeg2_decode_sliceFunction · 0.85
svq3_decode_slice_headerFunction · 0.85
svq3_decode_extradataFunction · 0.85
h261_decode_gob_headerFunction · 0.85
mpeg_decode_sliceFunction · 0.85
svq1_decode_frame_headerFunction · 0.85

Calls 3

get_bits_leftFunction · 0.85
get_bits1Function · 0.85
skip_bitsFunction · 0.85

Tested by

no test coverage detected