From e52a9145c8bf0748ae970e210e528ff56508964c Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Thu, 31 Mar 2011 17:36:06 +0200 Subject: avio: make url_close() internal. --- libavformat/rtpproto.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libavformat/rtpproto.c') 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; } -- cgit v1.2.3