summaryrefslogtreecommitdiff
path: root/libavformat/rtpproto.c
diff options
context:
space:
mode:
authorPetr Doubek <doubek@vision.ee.ethz.ch>2004-08-12 00:09:32 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-08-12 00:09:32 +0000
commit6ba5cbc699e77cae66bb719354fa142114b64eab (patch)
tree4d0862ca409f9db2ad6f121e66fc40275557dfa4 /libavformat/rtpproto.c
parent1477ec35dd958bf2c1ec7b4221a3d571c5b61449 (diff)
HTTP Authentication Patch by (Petr Doubek <doubek at vision dot ee dot ethz dot ch>)
tested and submitted by (Torsten Spindler <spindler at hbt dot arch dot ethz dot ch>) Originally committed as revision 3381 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtpproto.c')
-rw-r--r--libavformat/rtpproto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rtpproto.c b/libavformat/rtpproto.c
index 71a4a05ded..26565ed10a 100644
--- a/libavformat/rtpproto.c
+++ b/libavformat/rtpproto.c
@@ -57,7 +57,7 @@ int rtp_set_remote_url(URLContext *h, const char *uri)
char buf[1024];
char path[1024];
- url_split(NULL, 0, hostname, sizeof(hostname), &port,
+ url_split(NULL, 0, NULL, 0, hostname, sizeof(hostname), &port,
path, sizeof(path), uri);
snprintf(buf, sizeof(buf), "udp://%s:%d%s", hostname, port, path);
@@ -122,7 +122,7 @@ static int rtp_open(URLContext *h, const char *uri, int flags)
return -ENOMEM;
h->priv_data = s;
- url_split(NULL, 0, hostname, sizeof(hostname), &port,
+ url_split(NULL, 0, NULL, 0, hostname, sizeof(hostname), &port,
path, sizeof(path), uri);
/* extract parameters */
is_multicast = 0;