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

Function av_bprint_get_buffer

libavutil/bprint.c:218–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216}
217
218void av_bprint_get_buffer(AVBPrint *buf, unsigned size,
219 unsigned char **mem, unsigned *actual_size)
220{
221 if (size > av_bprint_room(buf))
222 av_bprint_alloc(buf, size);
223 *actual_size = av_bprint_room(buf);
224 *mem = *actual_size ? buf->str + buf->len : NULL;
225}
226
227void av_bprint_clear(AVBPrint *buf)
228{

Callers 1

decode_zbufFunction · 0.85

Calls 1

av_bprint_allocFunction · 0.85

Tested by

no test coverage detected