]> git.sesse.net Git - vlc/blobdiff - modules/stream_out/rtcp.c
Another Win32 problem
[vlc] / modules / stream_out / rtcp.c
index 2a510419bb21e2a9580f36cffc2f1b6cbfee8ccf..b838bc29a77600089b911ad03ebb801a442a3ca2 100644 (file)
@@ -78,7 +78,7 @@ rtcp_sender_t *OpenRTCP (vlc_object_t *obj, int rtp_fd, int proto,
         fd = dup (rtp_fd);
 #else
         WSAPROTOCOL_INFO info;
-        WSADuplicateSocket (rtp_fd, GetProcessId (), &info);
+        WSADuplicateSocket (rtp_fd, GetCurrentProcessId (), &info);
         fd = WSASocket (info.iAddressFamily, info.iSocketType, info.iProtocol,
                         &info, 0, 0);
 #endif