Mercurial > libavformat.hg
comparison http.c @ 5775:7a123cc24a81 libavformat
Rename url_split to ff_url_split
Since this function isn't in the public API, it should have an ff_ prefix.
author | mstorsjo |
---|---|
date | Mon, 08 Mar 2010 09:03:25 +0000 |
parents | 7c7fe75728dd |
children | d34f985d6e8f |
comparison
equal
deleted
inserted
replaced
5774:66e85b4ca68a | 5775:7a123cc24a81 |
---|---|
67 av_strstart(proxy_path, "http://", NULL); | 67 av_strstart(proxy_path, "http://", NULL); |
68 | 68 |
69 /* fill the dest addr */ | 69 /* fill the dest addr */ |
70 redo: | 70 redo: |
71 /* needed in any case to build the host string */ | 71 /* needed in any case to build the host string */ |
72 url_split(NULL, 0, auth, sizeof(auth), hostname, sizeof(hostname), &port, | 72 ff_url_split(NULL, 0, auth, sizeof(auth), hostname, sizeof(hostname), &port, |
73 path1, sizeof(path1), s->location); | 73 path1, sizeof(path1), s->location); |
74 ff_url_join(hoststr, sizeof(hoststr), NULL, NULL, hostname, port, NULL); | 74 ff_url_join(hoststr, sizeof(hoststr), NULL, NULL, hostname, port, NULL); |
75 | 75 |
76 if (use_proxy) { | 76 if (use_proxy) { |
77 url_split(NULL, 0, auth, sizeof(auth), hostname, sizeof(hostname), &port, | 77 ff_url_split(NULL, 0, auth, sizeof(auth), hostname, sizeof(hostname), &port, |
78 NULL, 0, proxy_path); | 78 NULL, 0, proxy_path); |
79 path = s->location; | 79 path = s->location; |
80 } else { | 80 } else { |
81 if (path1[0] == '\0') | 81 if (path1[0] == '\0') |
82 path = "/"; | 82 path = "/"; |