diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-03-31 18:25:10 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-04-04 19:45:20 +0400 |
commit | 0589da0aa525e4ba7c554408339fa3e862402af5 (patch) | |
tree | 53560d5cdf77b731064509f295452a2597096e3c /libavformat/sapenc.c | |
parent | 62eaaeacb5ac083d9a96e95ec7df12113cd3ca81 (diff) |
avio: make url_open() internal.
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 091d11b84b..c811d2f001 100644 --- a/libavformat/sapenc.c +++ b/libavformat/sapenc.c @@ -28,6 +28,7 @@ #include "network.h" #include "os_support.h" #include "rtpenc_chain.h" +#include "url.h" struct SAPState { uint8_t *ann; @@ -145,7 +146,7 @@ static int sap_write_header(AVFormatContext *s) "?ttl=%d", ttl); if (!same_port) base_port += 2; - ret = url_open(&fd, url, URL_WRONLY); + ret = ffurl_open(&fd, url, URL_WRONLY); if (ret) { ret = AVERROR(EIO); goto fail; @@ -157,7 +158,7 @@ static int sap_write_header(AVFormatContext *s) ff_url_join(url, sizeof(url), "udp", NULL, announce_addr, port, "?ttl=%d&connect=1", ttl); - ret = url_open(&sap->ann_fd, url, URL_WRONLY); + ret = ffurl_open(&sap->ann_fd, url, URL_WRONLY); if (ret) { ret = AVERROR(EIO); goto fail; |