Lines Matching defs:filename
75 const char *filename, int flags,
95 uc = av_mallocz(sizeof(URLContext) + strlen(filename) + 1);
101 uc->filename = (char *)&uc[1];
102 strcpy(uc->filename, filename);
117 if (av_strstart(uc->filename, up->name, (const char**)&start) && *start == ',') {
207 uc->filename,
210 uc->prot->url_open(uc, uc->filename, uc->flags);
251 static const struct URLProtocol *url_find_protocol(const char *filename)
255 size_t proto_len = strspn(filename, URL_SCHEME_CHARS);
258 if (filename[proto_len] != ':' &&
259 (strncmp(filename, "subfile,", 8) || !strchr(filename + proto_len + 1, ':')) ||
260 is_dos_path(filename))
263 av_strlcpy(proto_str, filename,
286 if (av_strstart(filename, "https:", NULL) || av_strstart(filename, "tls:", NULL))
293 int ffurl_alloc(URLContext **puc, const char *filename, int flags,
298 p = url_find_protocol(filename);
300 return url_alloc_for_protocol(puc, p, filename, flags, int_cb);
306 int ffurl_open_whitelist(URLContext **puc, const char *filename, int flags,
313 int ret = ffurl_alloc(puc, filename, flags, int_cb);