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/sapenc.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/sapenc.c')
-rw-r--r-- | libavformat/sapenc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavformat/sapenc.c b/libavformat/sapenc.c index ec017909eb..d8ec465afa 100644 --- a/libavformat/sapenc.c +++ b/libavformat/sapenc.c @@ -146,7 +146,7 @@ static int sap_write_header(AVFormatContext *s) "?ttl=%d", ttl); if (!same_port) base_port += 2; - ret = ffurl_open(&fd, url, AVIO_FLAG_WRITE, &s->interrupt_callback); + ret = ffurl_open(&fd, url, AVIO_FLAG_WRITE, &s->interrupt_callback, NULL); if (ret) { ret = AVERROR(EIO); goto fail; @@ -158,7 +158,8 @@ static int sap_write_header(AVFormatContext *s) ff_url_join(url, sizeof(url), "udp", NULL, announce_addr, port, "?ttl=%d&connect=1", ttl); - ret = ffurl_open(&sap->ann_fd, url, AVIO_FLAG_WRITE, &s->interrupt_callback); + ret = ffurl_open(&sap->ann_fd, url, AVIO_FLAG_WRITE, + &s->interrupt_callback, NULL); if (ret) { ret = AVERROR(EIO); goto fail; |