[vlc-commits] satip: do not use SOCKS
Rémi Denis-Courmont
git at videolan.org
Sun Nov 11 16:33:24 CET 2018
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Nov 9 23:20:31 2018 +0200| [79c10c38a100237e3956baac23a63ab6da6a46f2] | committer: Rémi Denis-Courmont
satip: do not use SOCKS
Be consistent in not using SOCKS across UDP and TCP sockets.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=79c10c38a100237e3956baac23a63ab6da6a46f2
---
modules/access/satip.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/access/satip.c b/modules/access/satip.c
index a3d7268590..8ecea610b4 100644
--- a/modules/access/satip.c
+++ b/modules/access/satip.c
@@ -666,7 +666,7 @@ static int satip_open(vlc_object_t *obj)
}
msg_Dbg(access, "connect to host '%s'", psz_host);
- sys->tcp_sock = net_ConnectTCP(access, psz_host, url.i_port);
+ sys->tcp_sock = net_Connect(access, psz_host, url.i_port, SOCK_STREAM, 0);
if (sys->tcp_sock < 0) {
msg_Err(access, "Failed to connect to RTSP server %s:%d",
psz_host, url.i_port);
More information about the vlc-commits
mailing list