avio: make url_open() internal.

This commit is contained in:
Anton Khirnov
2011-03-31 16:25:10 +02:00
parent 62eaaeacb5
commit 0589da0aa5
15 changed files with 51 additions and 35 deletions

View File

@@ -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;