[MPlayer-cvslog] r33390 - trunk/gui/win32/interface.c
ib
subversion at mplayerhq.hu
Fri May 6 17:50:49 CEST 2011
Author: ib
Date: Fri May 6 17:50:49 2011
New Revision: 33390
Log:
Replace _beginthreadex() by CreateThread().
This fixes a compile problem with Cygwin.
Patch by Stephen Sheldon, sfsheldo gmail com.
Modified:
trunk/gui/win32/interface.c
Modified: trunk/gui/win32/interface.c
==============================================================================
--- trunk/gui/win32/interface.c Fri May 6 15:10:39 2011 (r33389)
+++ trunk/gui/win32/interface.c Fri May 6 17:50:49 2011 (r33390)
@@ -493,7 +493,7 @@ void guiInit(void)
/* Create The gui thread */
if (!mygui)
{
- hThread = _beginthreadex(NULL, 0, GuiThread, NULL, 0, &threadId);
+ hThread = CreateThread(NULL, 0, GuiThread, NULL, 0, &threadId);
mp_msg(MSGT_GPLAYER, MSGL_V, "[GUI] Creating GUI Thread 0x%04x\n", threadId);
}
More information about the MPlayer-cvslog
mailing list