summaryrefslogtreecommitdiff
path: root/libavformat/mmst.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-03-31 16:25:10 +0200
committerAnton Khirnov <anton@khirnov.net>2011-04-04 17:45:20 +0200
commit0589da0aa525e4ba7c554408339fa3e862402af5 (patch)
tree53560d5cdf77b731064509f295452a2597096e3c /libavformat/mmst.c
parent62eaaeacb5ac083d9a96e95ec7df12113cd3ca81 (diff)
avio: make url_open() internal.
Diffstat (limited to 'libavformat/mmst.c')
-rw-r--r--libavformat/mmst.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/mmst.c b/libavformat/mmst.c
index ba29b9e05b..fa17fe524b 100644
--- a/libavformat/mmst.c
+++ b/libavformat/mmst.c
@@ -35,6 +35,7 @@
#include "libavutil/intreadwrite.h"
#include "libavcodec/bytestream.h"
#include "network.h"
+#include "url.h"
#define LOCAL_ADDRESS 0xc0a80081 // FIXME get and use correct local ip address.
#define LOCAL_PORT 1037 // as above.
@@ -522,7 +523,7 @@ static int mms_open(URLContext *h, const char *uri, int flags)
// establish tcp connection.
ff_url_join(tcpname, sizeof(tcpname), "tcp", NULL, mmst->host, port, NULL);
- err = url_open(&mms->mms_hd, tcpname, URL_RDWR);
+ err = ffurl_open(&mms->mms_hd, tcpname, URL_RDWR);
if (err)
goto fail;