summaryrefslogtreecommitdiff
path: root/libavformat/gopher.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-11-05 10:04:04 +0100
committerAnton Khirnov <anton@khirnov.net>2011-11-13 13:14:39 +0100
commitddffc2fdc351d60ca190b016cccff4acff27823f (patch)
treebabe7cbc4ebf1c48d680236cafdcb82999e64945 /libavformat/gopher.c
parent163a31136dcb0b5966fc779917e0408cb52d7295 (diff)
avio: add support for passing options to protocols.
Not used anywhere yet, support for passing options from avio_open() will follow.
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;