]> git.sesse.net Git - vlc/blobdiff - modules/stream_out/rtcp.c
new failing test for medialistplayer_next
[vlc] / modules / stream_out / rtcp.c
index 2a510419bb21e2a9580f36cffc2f1b6cbfee8ccf..f0beee9677cd4e8b1944e79b084e7948ccffe4a9 100644 (file)
  * Preamble
  *****************************************************************************/
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include <vlc/vlc.h>
 #include <vlc_block.h>
 
 #include <vlc_network.h>
-
-
-#include <vlc_url.h>
 #include <vlc_sout.h>
 #include "rtp.h"
 
@@ -78,7 +79,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