Home
last modified time | relevance | path

Searched refs:t_cur (Results 1 – 1 of 1) sorted by relevance

/third_party/ffmpeg/libavformat/
Ddash.c101 const char *t_cur = template; in ff_dash_fill_tmpl_params() local
102 while (dst_pos < buffer_size - 1 && *t_cur) { in ff_dash_fill_tmpl_params()
106 … const char *t_next = strchr(t_cur, '$'); // copy over everything up to the first '$' character in ff_dash_fill_tmpl_params()
108 int num_copy_bytes = FFMIN(t_next - t_cur, buffer_size - dst_pos - 1); in ff_dash_fill_tmpl_params()
109 av_strlcpy(&dst[dst_pos], t_cur, num_copy_bytes + 1); in ff_dash_fill_tmpl_params()
112 t_cur = t_next; in ff_dash_fill_tmpl_params()
114 av_strlcpy(&dst[dst_pos], t_cur, buffer_size - dst_pos); in ff_dash_fill_tmpl_params()
118 if (dst_pos >= buffer_size - 1 || !*t_cur) in ff_dash_fill_tmpl_params()
122 id_type = dash_read_tmpl_id(t_cur, format_tag, sizeof(format_tag), &t_next); in ff_dash_fill_tmpl_params()
142 av_strlcpy(&dst[dst_pos], t_cur, 2); in ff_dash_fill_tmpl_params()
[all …]