Mercurial > libavformat.hg
diff rtpproto.c @ 511:056991ab9f10 libavformat
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>)
| author | michael |
|---|---|
| date | Thu, 12 Aug 2004 00:09:32 +0000 |
| parents | 0fdc96c2f2fe |
| children | da1d5db0ce5c |
line wrap: on
line diff
--- a/rtpproto.c Wed Aug 04 20:57:35 2004 +0000 +++ b/rtpproto.c Thu Aug 12 00:09:32 2004 +0000 @@ -57,7 +57,7 @@ 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 @@ 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;
