| 265 | } |
| 266 | |
| 267 | static av_always_inline unsigned int bytestream2_get_buffer(GetByteContext *g, |
| 268 | uint8_t *dst, |
| 269 | unsigned int size) |
| 270 | { |
| 271 | unsigned int size2 = FFMIN(g->buffer_end - g->buffer, size); |
| 272 | memcpy(dst, g->buffer, size2); |
| 273 | g->buffer += size2; |
| 274 | return size2; |
| 275 | } |
| 276 | |
| 277 | static av_always_inline unsigned int bytestream2_get_bufferu(GetByteContext *g, |
| 278 | uint8_t *dst, |
no outgoing calls
no test coverage detected