* @param round_up When set, the number of bits written will be * rounded up to the next byte. * @return the number of bytes left. */
| 143 | * @return the number of bytes left. |
| 144 | */ |
| 145 | static inline int put_bytes_left(const PutBitContext *s, int round_up) |
| 146 | { |
| 147 | return s->buf_end - s->buf_ptr - ((BUF_BITS - s->bit_left + (round_up ? 7 : 0)) >> 3); |
| 148 | } |
| 149 | |
| 150 | /** |
| 151 | * Pad the end of the output stream with zeros. |
no outgoing calls
no test coverage detected