summaryrefslogtreecommitdiff
path: root/libavformat/gopher.c
diff options
context:
space:
mode:
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 afb0aff98d..5f8c320f10 100644
--- a/libavformat/gopher.c
+++ b/libavformat/gopher.c
@@ -100,7 +100,8 @@ 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 = ffurl_open(&s->hd, buf, AVIO_FLAG_READ_WRITE, &h->interrupt_callback);
+ err = ffurl_open(&s->hd, buf, AVIO_FLAG_READ_WRITE,
+ &h->interrupt_callback, NULL);
if (err < 0)
goto fail;