Lines Matching refs:proto_name
164 const char *proto_name = avio_find_protocol_name(url);
165 return proto_name && av_strstart(proto_name, "http", NULL);
406 const char *proto_name = NULL;
412 proto_name = avio_find_protocol_name(url + 7);
415 if (!proto_name)
416 proto_name = avio_find_protocol_name(url);
418 if (!proto_name)
421 proto_name_len = strlen(proto_name);
423 if (av_strstart(proto_name, "file", NULL)) {
431 } else if (av_strstart(proto_name, "http", NULL)) {
436 if (!strncmp(proto_name, url, proto_name_len) && url[proto_name_len] == ':')
438 else if (av_strstart(url, "crypto", NULL) && !strncmp(proto_name, url + 7, proto_name_len) && url[7 + proto_name_len] == ':')
440 else if (strcmp(proto_name, "file") || !strncmp(url, "file,", 5))
463 *is_http = av_strstart(proto_name, "http", NULL);