mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-16 03:50:05 +01:00
avio: make url_open() internal.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user