Lines Matching refs:proto_name
644 const char *proto_name = NULL;
650 proto_name = avio_find_protocol_name(url + 7);
653 proto_name = avio_find_protocol_name(url + 5);
656 if (!proto_name)
657 proto_name = avio_find_protocol_name(url);
659 if (!proto_name)
663 if (av_strstart(proto_name, "file", NULL)) {
671 } else if (av_strstart(proto_name, "http", NULL)) {
673 } else if (av_strstart(proto_name, "data", NULL)) {
678 if (!strncmp(proto_name, url, strlen(proto_name)) && url[strlen(proto_name)] == ':')
680 else if (av_strstart(url, "crypto", NULL) && !strncmp(proto_name, url + 7, strlen(proto_name)) && url[7 + strlen(proto_name)] == ':')
682 else if (av_strstart(url, "data", NULL) && !strncmp(proto_name, url + 5, strlen(proto_name)) && url[5 + strlen(proto_name)] == ':')
684 else if (strcmp(proto_name, "file") || !strncmp(url, "file,", 5))