Make ff_url_split() public
[ffmpeg.git] / libavformat / rtmpproto.c
index f76cf0f4954e74bfc4078d40253a6200306ba982..a02bad5cf8ea8579d8b4896c5b080276127e9898 100644 (file)
@@ -813,7 +813,7 @@ static int rtmp_open(URLContext *s, const char *uri, int flags)
     s->priv_data = rt;
     rt->is_input = !(flags & URL_WRONLY);
 
-    ff_url_split(proto, sizeof(proto), NULL, 0, hostname, sizeof(hostname), &port,
+    av_url_split(proto, sizeof(proto), NULL, 0, hostname, sizeof(hostname), &port,
                  path, sizeof(path), s->filename);
 
     if (port < 0)