|
|
|
@@ -65,7 +65,7 @@ int rtp_set_remote_url(URLContext *h, const char *uri) |
|
|
|
char path[1024]; |
|
|
|
|
|
|
|
ff_url_split(NULL, 0, NULL, 0, hostname, sizeof(hostname), &port, |
|
|
|
path, sizeof(path), uri); |
|
|
|
path, sizeof(path), uri); |
|
|
|
|
|
|
|
ff_url_join(buf, sizeof(buf), "udp", NULL, hostname, port, "%s", path); |
|
|
|
udp_set_remote_url(s->rtp_hd, buf); |
|
|
|
@@ -135,7 +135,7 @@ static int rtp_open(URLContext *h, const char *uri, int flags) |
|
|
|
h->priv_data = s; |
|
|
|
|
|
|
|
ff_url_split(NULL, 0, NULL, 0, hostname, sizeof(hostname), &port, |
|
|
|
path, sizeof(path), uri); |
|
|
|
path, sizeof(path), uri); |
|
|
|
/* extract parameters */ |
|
|
|
ttl = -1; |
|
|
|
local_port = -1; |
|
|
|
|