diff options
author | Anton Khirnov | 2011-03-31 16:25:10 +0200 |
---|---|---|
committer | Anton Khirnov | 2011-04-04 17:45:20 +0200 |
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; |