summaryrefslogtreecommitdiff
path: root/libavformat/tls.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/tls.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/tls.c')
-rw-r--r--libavformat/tls.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/tls.c b/libavformat/tls.c
index b2ec147adb..33ee782fa8 100644
--- a/libavformat/tls.c
+++ b/libavformat/tls.c
@@ -123,7 +123,8 @@ static int tls_open(URLContext *h, const char *uri, int flags)
freeaddrinfo(ai);
}
- ret = ffurl_open(&c->tcp, buf, AVIO_FLAG_READ_WRITE, &h->interrupt_callback);
+ ret = ffurl_open(&c->tcp, buf, AVIO_FLAG_READ_WRITE,
+ &h->interrupt_callback, NULL);
if (ret)
goto fail;
c->fd = ffurl_get_file_handle(c->tcp);