diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-03-31 17:36:06 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-04-04 17:45:20 +0200 |
commit | e52a9145c8bf0748ae970e210e528ff56508964c (patch) | |
tree | 7fbe99aa17e8bc5d966cc4beadb4b8b2202b5a54 /libavformat/rtsp.c | |
parent | 58a48c6511f1aded04885933fdb2449251f0ec64 (diff) | |
download | ffmpeg-e52a9145c8bf0748ae970e210e528ff56508964c.tar.gz |
avio: make url_close() internal.
Diffstat (limited to 'libavformat/rtsp.c')
-rw-r--r-- | libavformat/rtsp.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index caa66c60cc..ac40430c57 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -509,7 +509,7 @@ void ff_rtsp_undo_setup(AVFormatContext *s) } rtsp_st->transport_priv = NULL; if (rtsp_st->rtp_handle) - url_close(rtsp_st->rtp_handle); + ffurl_close(rtsp_st->rtp_handle); rtsp_st->rtp_handle = NULL; } } @@ -1297,8 +1297,8 @@ fail: void ff_rtsp_close_connections(AVFormatContext *s) { RTSPState *rt = s->priv_data; - if (rt->rtsp_hd_out != rt->rtsp_hd) url_close(rt->rtsp_hd_out); - url_close(rt->rtsp_hd); + if (rt->rtsp_hd_out != rt->rtsp_hd) ffurl_close(rt->rtsp_hd_out); + ffurl_close(rt->rtsp_hd); rt->rtsp_hd = rt->rtsp_hd_out = NULL; } @@ -1888,7 +1888,7 @@ static int rtp_read_header(AVFormatContext *s, break; } getsockname(url_get_file_handle(in), (struct sockaddr*) &addr, &addrlen); - url_close(in); + ffurl_close(in); in = NULL; memset(&codec, 0, sizeof(codec)); @@ -1927,7 +1927,7 @@ static int rtp_read_header(AVFormatContext *s, fail: if (in) - url_close(in); + ffurl_close(in); ff_network_close(); return ret; } |