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

Function av_bprint_append_data

libavutil/bprint.c:148–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148void av_bprint_append_data(AVBPrint *buf, const char *data, unsigned size)
149{
150 unsigned room, real_n;
151
152 while (1) {
153 room = av_bprint_room(buf);
154 if (size < room)
155 break;
156 if (av_bprint_alloc(buf, size))
157 break;
158 }
159 if (room) {
160 real_n = FFMIN(size, room - 1);
161 memcpy(buf->str + buf->len, data, real_n);
162 }
163 av_bprint_grow(buf, size);
164}
165
166void av_bprint_strftime(AVBPrint *buf, const char *fmt, const struct tm *tm)
167{

Callers 15

read_string_to_bprintFunction · 0.85
avio_read_to_bprintFunction · 0.85
bprint_escaped_pathFunction · 0.85
av_dict_get_stringFunction · 0.85
ff_vk_shader_printFunction · 0.85
opt_serializeFunction · 0.85
av_strireplaceFunction · 0.85
validate_stringFunction · 0.85
print_filtergraphs_privFunction · 0.85

Calls 2

av_bprint_allocFunction · 0.85
av_bprint_growFunction · 0.85

Tested by

no test coverage detected