| 145 | } |
| 146 | |
| 147 | static av_always_inline void bytestream2_init_writer(PutByteContext *p, |
| 148 | uint8_t *buf, |
| 149 | int buf_size) |
| 150 | { |
| 151 | av_assert0(buf_size >= 0); |
| 152 | p->buffer = buf; |
| 153 | p->buffer_start = buf; |
| 154 | p->buffer_end = buf + buf_size; |
| 155 | p->eof = 0; |
| 156 | } |
| 157 | |
| 158 | static av_always_inline int bytestream2_get_bytes_left(const GetByteContext *g) |
| 159 | { |
no outgoing calls
no test coverage detected