[vlc-commits] WinRT: we don't use the WinsockRT APIs

Jean-Baptiste Kempf git at videolan.org
Wed Jul 1 10:53:28 CEST 2015


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Jul  1 10:52:54 2015 +0200| [cefea7d5f9e6c2d855c70dc6dcc8233831cf22ae] | committer: Jean-Baptiste Kempf

WinRT: we don't use the WinsockRT APIs

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cefea7d5f9e6c2d855c70dc6dcc8233831cf22ae
---

 src/network/io.c |    9 ---------
 1 file changed, 9 deletions(-)

diff --git a/src/network/io.c b/src/network/io.c
index 48a03a3..b7676d9 100644
--- a/src/network/io.c
+++ b/src/network/io.c
@@ -269,15 +269,6 @@ net_Read (vlc_object_t *restrict p_this, int fd,
     ufd[1].events = POLLIN;
 
     size_t i_total = 0;
-#if VLC_WINSTORE_APP
-    /* With winrtsock winsocks emulation library, the first call to read()
-     * before poll() starts an asynchronous transfer and returns 0.
-     * Always call poll() first.
-     *
-     * See bug #8972 for details.
-     */
-    goto do_poll;
-#endif
     do
     {
 #ifdef _WIN32



More information about the vlc-commits mailing list