Mercurial > libavformat.hg
diff http.c @ 6182:4fc5e0e4e1cd libavformat
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.
author | mru |
---|---|
date | Sun, 27 Jun 2010 14:16:46 +0000 |
parents | 72ea866c62fd |
children | 89adb1f9ff50 |
line wrap: on
line diff
--- a/http.c Sun Jun 27 09:07:35 2010 +0000 +++ b/http.c Sun Jun 27 14:16:46 2010 +0000 @@ -105,12 +105,12 @@ /* 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 {