diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-03-31 16:25:10 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-04-04 17:45:20 +0200 |
commit | 0589da0aa525e4ba7c554408339fa3e862402af5 (patch) | |
tree | 53560d5cdf77b731064509f295452a2597096e3c /libavformat/rtmpproto.c | |
parent | 62eaaeacb5ac083d9a96e95ec7df12113cd3ca81 (diff) | |
download | ffmpeg-0589da0aa525e4ba7c554408339fa3e862402af5.tar.gz |
avio: make url_open() internal.
Diffstat (limited to 'libavformat/rtmpproto.c')
-rw-r--r-- | libavformat/rtmpproto.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c index d74dfac794..7c21ff7bfe 100644 --- a/libavformat/rtmpproto.c +++ b/libavformat/rtmpproto.c @@ -36,6 +36,7 @@ #include "flv.h" #include "rtmp.h" #include "rtmppkt.h" +#include "url.h" /* we can't use av_log() with URLContext yet... */ #if FF_API_URL_CLASS @@ -820,7 +821,7 @@ static int rtmp_open(URLContext *s, const char *uri, int flags) port = RTMP_DEFAULT_PORT; ff_url_join(buf, sizeof(buf), "tcp", NULL, hostname, port, NULL); - if (url_open(&rt->stream, buf, URL_RDWR) < 0) { + if (ffurl_open(&rt->stream, buf, URL_RDWR) < 0) { av_log(LOG_CONTEXT, AV_LOG_ERROR, "Cannot open connection %s\n", buf); goto fail; } |