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/udp.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/udp.c')
-rw-r--r-- | libavformat/udp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/udp.c b/libavformat/udp.c index fd6b5c19ba..227c0d0bee 100644 --- a/libavformat/udp.c +++ b/libavformat/udp.c @@ -266,7 +266,7 @@ int udp_set_remote_url(URLContext *h, const char *uri) char hostname[256]; int port; - ff_url_split(NULL, 0, NULL, 0, hostname, sizeof(hostname), &port, NULL, 0, uri); + av_url_split(NULL, 0, NULL, 0, hostname, sizeof(hostname), &port, NULL, 0, uri); /* set the destination address */ s->dest_addr_len = udp_set_url(&s->dest_addr, hostname, port); @@ -347,9 +347,9 @@ static int udp_open(URLContext *h, const char *uri, int flags) } /* fill the dest addr */ - ff_url_split(NULL, 0, NULL, 0, hostname, sizeof(hostname), &port, NULL, 0, uri); + av_url_split(NULL, 0, NULL, 0, hostname, sizeof(hostname), &port, NULL, 0, uri); - /* XXX: fix ff_url_split */ + /* XXX: fix av_url_split */ if (hostname[0] == '\0' || hostname[0] == '?') { /* only accepts null hostname if input */ if (flags & URL_WRONLY) |