Lines Matching refs:uri
64 static av_cold int concat_open(URLContext *h, const char *uri, int flags)
74 if (!av_strstart(uri, "concat:", &uri)) {
75 av_log(h, AV_LOG_ERROR, "URL %s lacks prefix\n", uri);
79 for (i = 0, len = 1; uri[i]; i++) {
80 if (uri[i] == *AV_CAT_SEPARATOR) {
91 if (!*uri)
93 for (i = 0; *uri; i++) {
94 /* parsing uri */
95 len = strcspn(uri, AV_CAT_SEPARATOR);
98 av_strlcpy(node_uri, uri, len + 1);
99 uri += len + strspn(uri + len, AV_CAT_SEPARATOR);
210 static av_cold int concatf_open(URLContext *h, const char *uri, int flags)
221 if (!av_strstart(uri, "concatf:", &uri)) {
222 av_log(h, AV_LOG_ERROR, "URL %s lacks prefix\n", uri);
227 if (!*uri)
230 err = ffio_open_whitelist(&in, uri, AVIO_FLAG_READ, &h->interrupt_callback,