Lines Matching refs:uri
76 char *uri;
452 int ff_http_do_new_request(URLContext *h, const char *uri) {
453 return ff_http_do_new_request2(h, uri, NULL);
456 int ff_http_do_new_request2(URLContext *h, const char *uri, AVDictionary **opts)
474 NULL, 0, uri);
498 s->location = av_strdup(uri);
502 av_free(s->uri);
503 s->uri = av_strdup(uri);
504 if (!s->uri)
510 av_log(s, AV_LOG_INFO, "Opening \'%s\' for %s\n", uri, h->flags & AVIO_FLAG_WRITE ? "writing" : "reading");
649 static int http_listen(URLContext *h, const char *uri, int flags,
658 NULL, 0, uri);
681 static int http_open(URLContext *h, const char *uri, int flags,
694 s->location = av_strdup(uri);
698 s->uri = av_strdup(uri);
699 if (!s->uri)
720 return http_listen(h, uri, flags, options);
729 av_freep(&s->uri);
1894 av_freep(&s->uri);
1936 /* if the location changed (redirect), revert to the original uri */
1937 if (strcmp(s->uri, s->location)) {
1939 new_uri = av_strdup(s->uri);
2044 static int http_proxy_open(URLContext *h, const char *uri, int flags)
2060 pathbuf, sizeof(pathbuf), uri);