aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/sapenc.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-03-31 16:48:01 +0200
committerAnton Khirnov <anton@khirnov.net>2011-04-04 17:45:20 +0200
commit925e908bc7a3ddbd31f94ae9a67fbee170fef3d3 (patch)
treede510186fd62f65c2336a5cb2ef74b4aa0213147 /libavformat/sapenc.c
parentdce375645945e31687493ebe82a7a89623e49bdc (diff)
downloadffmpeg-925e908bc7a3ddbd31f94ae9a67fbee170fef3d3.tar.gz
avio: make url_write() internal.
Diffstat (limited to 'libavformat/sapenc.c')
-rw-r--r--libavformat/sapenc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/sapenc.c b/libavformat/sapenc.c
index c811d2f001..25354208b7 100644
--- a/libavformat/sapenc.c
+++ b/libavformat/sapenc.c
@@ -54,7 +54,7 @@ static int sap_write_close(AVFormatContext *s)
if (sap->last_time && sap->ann && sap->ann_fd) {
sap->ann[0] |= 4; /* Session deletion*/
- url_write(sap->ann_fd, sap->ann, sap->ann_size);
+ ffurl_write(sap->ann_fd, sap->ann, sap->ann_size);
}
av_freep(&sap->ann);
@@ -239,7 +239,7 @@ static int sap_write_packet(AVFormatContext *s, AVPacket *pkt)
int64_t now = av_gettime();
if (!sap->last_time || now - sap->last_time > 5000000) {
- int ret = url_write(sap->ann_fd, sap->ann, sap->ann_size);
+ int ret = ffurl_write(sap->ann_fd, sap->ann, sap->ann_size);
/* Don't abort even if we get "Destination unreachable" */
if (ret < 0 && ret != AVERROR(ECONNREFUSED))
return ret;