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

Function av_bprint_init_for_buffer

libavutil/bprint.c:85–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85void av_bprint_init_for_buffer(AVBPrint *buf, char *buffer, unsigned size)
86{
87 if (size == 0) {
88 av_bprint_init(buf, 0, AV_BPRINT_SIZE_COUNT_ONLY);
89 return;
90 }
91
92 buf->str = buffer;
93 buf->len = 0;
94 buf->size = size;
95 buf->size_max = size;
96 *buf->str = 0;
97}
98
99void av_vbprintf(AVBPrint *buf, const char *fmt, va_list vl_arg)
100{

Callers 15

get_frame_filenameFunction · 0.85
write_codec_attrFunction · 0.85
http_connectFunction · 0.85
der_to_pemFunction · 0.85
dash_initFunction · 0.85
update_stream_extradataFunction · 0.85
av_channel_nameFunction · 0.85
av_channel_descriptionFunction · 0.85
mainFunction · 0.85
webvtt_encode_frameFunction · 0.85
ttml_encode_frameFunction · 0.85

Calls 1

av_bprint_initFunction · 0.85

Tested by 1

mainFunction · 0.68