summaryrefslogtreecommitdiff
path: root/libavformat/rtpproto.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-03-31 17:36:06 +0200
committerAnton Khirnov <anton@khirnov.net>2011-04-04 17:45:20 +0200
commite52a9145c8bf0748ae970e210e528ff56508964c (patch)
tree7fbe99aa17e8bc5d966cc4beadb4b8b2202b5a54 /libavformat/rtpproto.c
parent58a48c6511f1aded04885933fdb2449251f0ec64 (diff)
avio: make url_close() internal.
Diffstat (limited to 'libavformat/rtpproto.c')
-rw-r--r--libavformat/rtpproto.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/rtpproto.c b/libavformat/rtpproto.c
index 22e59859d3..8772510ac5 100644
--- a/libavformat/rtpproto.c
+++ b/libavformat/rtpproto.c
@@ -212,9 +212,9 @@ static int rtp_open(URLContext *h, const char *uri, int flags)
fail:
if (s->rtp_hd)
- url_close(s->rtp_hd);
+ ffurl_close(s->rtp_hd);
if (s->rtcp_hd)
- url_close(s->rtcp_hd);
+ ffurl_close(s->rtcp_hd);
av_free(s);
return AVERROR(EIO);
}
@@ -313,8 +313,8 @@ static int rtp_close(URLContext *h)
{
RTPContext *s = h->priv_data;
- url_close(s->rtp_hd);
- url_close(s->rtcp_hd);
+ ffurl_close(s->rtp_hd);
+ ffurl_close(s->rtcp_hd);
av_free(s);
return 0;
}