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/rtpproto.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/rtpproto.c')
-rw-r--r-- | libavformat/rtpproto.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rtpproto.c b/libavformat/rtpproto.c index bbcf0d91c3..1875424a73 100644 --- a/libavformat/rtpproto.c +++ b/libavformat/rtpproto.c @@ -66,7 +66,7 @@ int rtp_set_remote_url(URLContext *h, const char *uri) char buf[1024]; char path[1024]; - ff_url_split(NULL, 0, NULL, 0, hostname, sizeof(hostname), &port, + av_url_split(NULL, 0, NULL, 0, hostname, sizeof(hostname), &port, path, sizeof(path), uri); ff_url_join(buf, sizeof(buf), "udp", NULL, hostname, port, "%s", path); @@ -146,7 +146,7 @@ static int rtp_open(URLContext *h, const char *uri, int flags) return AVERROR(ENOMEM); h->priv_data = s; - ff_url_split(NULL, 0, NULL, 0, hostname, sizeof(hostname), &rtp_port, + av_url_split(NULL, 0, NULL, 0, hostname, sizeof(hostname), &rtp_port, path, sizeof(path), uri); /* extract parameters */ ttl = -1; |