summaryrefslogtreecommitdiff
path: root/libavformat/gopher.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-03-31 16:25:10 +0200
committerAnton Khirnov <anton@khirnov.net>2011-04-04 17:45:20 +0200
commit0589da0aa525e4ba7c554408339fa3e862402af5 (patch)
tree53560d5cdf77b731064509f295452a2597096e3c /libavformat/gopher.c
parent62eaaeacb5ac083d9a96e95ec7df12113cd3ca81 (diff)
avio: make url_open() internal.
Diffstat (limited to 'libavformat/gopher.c')
-rw-r--r--libavformat/gopher.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/gopher.c b/libavformat/gopher.c
index 4681c8e194..c2e290d077 100644
--- a/libavformat/gopher.c
+++ b/libavformat/gopher.c
@@ -26,6 +26,7 @@
#include "avformat.h"
#include "internal.h"
#include "network.h"
+#include "url.h"
typedef struct {
URLContext *hd;
@@ -99,7 +100,7 @@ static int gopher_open(URLContext *h, const char *uri, int flags)
ff_url_join(buf, sizeof(buf), "tcp", NULL, hostname, port, NULL);
s->hd = NULL;
- err = url_open(&s->hd, buf, URL_RDWR);
+ err = ffurl_open(&s->hd, buf, URL_RDWR);
if (err < 0)
goto fail;