diff tcp.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 7fdda2416684
children a5b3f5d68db6
line wrap: on
line diff
--- a/tcp.c	Sun Jun 27 09:07:35 2010 +0000
+++ b/tcp.c	Sun Jun 27 14:16:46 2010 +0000
@@ -45,7 +45,7 @@
     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);