diff options
author | Måns Rullgård <mans@mansr.com> | 2010-06-27 14:16:46 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-06-27 14:16:46 +0000 |
commit | f3bfe388b5ba1767ce982c8304dfe9ef0f38a454 (patch) | |
tree | 8cef06f9ff5ba5e6cd681ea5b3e6b3922a0858e2 /libavformat/http.c | |
parent | 350120d269033f4cc206850b3c81f797ed2cb9c6 (diff) | |
download | ffmpeg-f3bfe388b5ba1767ce982c8304dfe9ef0f38a454.tar.gz |
Make ff_url_split() public
ff_url_split() is retained as an alias, as it was used by ffserver,
to avoid breaking ABI compatibility with it.
Originally committed as revision 23822 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/http.c')
-rw-r--r-- | libavformat/http.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/http.c b/libavformat/http.c index a3edd816a7..2b503a1a08 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -105,12 +105,12 @@ static int http_open_cnx(URLContext *h) /* fill the dest addr */ redo: /* needed in any case to build the host string */ - ff_url_split(NULL, 0, auth, sizeof(auth), hostname, sizeof(hostname), &port, + av_url_split(NULL, 0, auth, sizeof(auth), hostname, sizeof(hostname), &port, path1, sizeof(path1), s->location); ff_url_join(hoststr, sizeof(hoststr), NULL, NULL, hostname, port, NULL); if (use_proxy) { - ff_url_split(NULL, 0, auth, sizeof(auth), hostname, sizeof(hostname), &port, + av_url_split(NULL, 0, auth, sizeof(auth), hostname, sizeof(hostname), &port, NULL, 0, proxy_path); path = s->location; } else { |