summaryrefslogtreecommitdiff
path: root/libavformat/mmsh.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/mmsh.c
parent58a48c6511f1aded04885933fdb2449251f0ec64 (diff)
avio: make url_close() internal.
Diffstat (limited to 'libavformat/mmsh.c')
-rw-r--r--libavformat/mmsh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mmsh.c b/libavformat/mmsh.c
index 32f8e4d4e0..bf872b3dd5 100644
--- a/libavformat/mmsh.c
+++ b/libavformat/mmsh.c
@@ -64,7 +64,7 @@ static int mmsh_close(URLContext *h)
MMSHContext *mmsh = (MMSHContext *)h->priv_data;
MMSContext *mms = &mmsh->mms;
if (mms->mms_hd)
- url_close(mms->mms_hd);
+ ffurl_close(mms->mms_hd);
av_free(mms->streams);
av_free(mms->asf_header);
av_freep(&h->priv_data);
@@ -259,7 +259,7 @@ static int mmsh_open(URLContext *h, const char *uri, int flags)
}
// close the socket and then reopen it for sending the second play request.
- url_close(mms->mms_hd);
+ ffurl_close(mms->mms_hd);
memset(headers, 0, sizeof(headers));
if (ffurl_alloc(&mms->mms_hd, httpname, URL_RDONLY) < 0) {
return AVERROR(EIO);