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

Function remaining_bits

libavcodec/wmaprodec.c:1557–1560  ·  view source on GitHub ↗

*@brief Calculate remaining input buffer length. *@param s codec context *@param gb bitstream reader context *@return remaining size in bits */

Source from the content-addressed store, hash-verified

1555 *@return remaining size in bits
1556 */
1557static int remaining_bits(WMAProDecodeCtx *s, GetBitContext *gb)
1558{
1559 return s->buf_bit_size - get_bits_count(gb);
1560}
1561
1562/**
1563 *@brief Fill the bit reservoir with a (partial) frame.

Callers 1

decode_packetFunction · 0.70

Calls 1

get_bits_countFunction · 0.85

Tested by

no test coverage detected