diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-11-05 10:04:04 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-11-13 13:14:39 +0100 |
commit | ddffc2fdc351d60ca190b016cccff4acff27823f (patch) | |
tree | babe7cbc4ebf1c48d680236cafdcb82999e64945 /libavformat/http.c | |
parent | 163a31136dcb0b5966fc779917e0408cb52d7295 (diff) | |
download | ffmpeg-ddffc2fdc351d60ca190b016cccff4acff27823f.tar.gz |
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/http.c')
-rw-r--r-- | libavformat/http.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/http.c b/libavformat/http.c index dbf384efff..9cc55bd3fc 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -133,7 +133,8 @@ static int http_open_cnx(URLContext *h) port = 80; ff_url_join(buf, sizeof(buf), lower_proto, NULL, hostname, port, NULL); - err = ffurl_open(&hd, buf, AVIO_FLAG_READ_WRITE, &h->interrupt_callback); + err = ffurl_open(&hd, buf, AVIO_FLAG_READ_WRITE, + &h->interrupt_callback, NULL); if (err < 0) goto fail; |