From 6ba5cbc699e77cae66bb719354fa142114b64eab Mon Sep 17 00:00:00 2001 From: Petr Doubek Date: Thu, 12 Aug 2004 00:09:32 +0000 Subject: HTTP Authentication Patch by (Petr Doubek ) tested and submitted by (Torsten Spindler ) Originally committed as revision 3381 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/udp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavformat/udp.c') diff --git a/libavformat/udp.c b/libavformat/udp.c index 87805c1519..0ba76fa141 100644 --- a/libavformat/udp.c +++ b/libavformat/udp.c @@ -60,7 +60,7 @@ int udp_set_remote_url(URLContext *h, const char *uri) char hostname[256]; int port; - url_split(NULL, 0, hostname, sizeof(hostname), &port, NULL, 0, uri); + url_split(NULL, 0, NULL, 0, hostname, sizeof(hostname), &port, NULL, 0, uri); /* set the destination address */ if (resolve_host(&s->dest_addr.sin_addr, hostname) < 0) @@ -132,7 +132,7 @@ static int udp_open(URLContext *h, const char *uri, int flags) } /* fill the dest addr */ - url_split(NULL, 0, hostname, sizeof(hostname), &port, NULL, 0, uri); + url_split(NULL, 0, NULL, 0, hostname, sizeof(hostname), &port, NULL, 0, uri); /* XXX: fix url_split */ if (hostname[0] == '\0' || hostname[0] == '?') { -- cgit v1.2.3