diff options
author | Måns Rullgård | 2010-06-27 14:16:46 +0000 |
---|---|---|
committer | Måns Rullgård | 2010-06-27 14:16:46 +0000 |
commit | f3bfe388b5ba1767ce982c8304dfe9ef0f38a454 (patch) | |
tree | 8cef06f9ff5ba5e6cd681ea5b3e6b3922a0858e2 /libavformat/tcp.c | |
parent | 350120d269033f4cc206850b3c81f797ed2cb9c6 (diff) |
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/tcp.c')
-rw-r--r-- | libavformat/tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/tcp.c b/libavformat/tcp.c index fb6dec798f..1827aa00a7 100644 --- a/libavformat/tcp.c +++ b/libavformat/tcp.c @@ -45,7 +45,7 @@ static int tcp_open(URLContext *h, const char *uri, int flags) char hostname[1024],proto[1024],path[1024]; char portstr[10]; - ff_url_split(proto, sizeof(proto), NULL, 0, hostname, sizeof(hostname), + av_url_split(proto, sizeof(proto), NULL, 0, hostname, sizeof(hostname), &port, path, sizeof(path), uri); if (strcmp(proto,"tcp") || port <= 0 || port >= 65536) return AVERROR(EINVAL); |