| Index: patched-ffmpeg-mt/libavformat/gopher.c
|
| ===================================================================
|
| --- patched-ffmpeg-mt/libavformat/gopher.c (revision 41250)
|
| +++ patched-ffmpeg-mt/libavformat/gopher.c (working copy)
|
| @@ -89,13 +89,13 @@
|
| h->priv_data = s;
|
|
|
| /* needed in any case to build the host string */
|
| - url_split(NULL, 0, auth, sizeof(auth), hostname, sizeof(hostname), &port,
|
| - path, sizeof(path), uri);
|
| + ff_url_split(NULL, 0, auth, sizeof(auth), hostname, sizeof(hostname), &port,
|
| + path, sizeof(path), uri);
|
|
|
| if (port < 0)
|
| port = 70;
|
|
|
| - snprintf(buf, sizeof(buf), "tcp://%s:%d", hostname, port);
|
| + ff_url_join(buf, sizeof(buf), "tcp", NULL, hostname, port, NULL);
|
|
|
| s->hd = NULL;
|
| err = url_open(&s->hd, buf, URL_RDWR);
|
|
|