Lines Matching refs:fullpath
310 char *fullpath;
321 fullpath = av_malloc(p_len + c_len + 2);
322 if (fullpath) {
324 av_strlcpy(fullpath, path, p_len + 1);
326 if (fullpath[p_len - 1] != '/' && component[0] != '/')
327 fullpath[p_len++] = '/';
328 else if (fullpath[p_len - 1] == '/' && component[0] == '/')
332 av_strlcpy(&fullpath[p_len], component, c_len + 1);
333 fullpath[p_len + c_len] = 0;
335 return fullpath;