[MPlayer-cvslog] r30347 - trunk/stream/tvi_dshow.c

reimar subversion at mplayerhq.hu
Sun Jan 17 14:18:59 CET 2010


Author: reimar
Date: Sun Jan 17 14:18:59 2010
New Revision: 30347

Log:
Add hack to fix tvi_dshow compilation with 64-bit MinGW

Modified:
   trunk/stream/tvi_dshow.c

Modified: trunk/stream/tvi_dshow.c
==============================================================================
--- trunk/stream/tvi_dshow.c	Sun Jan 17 13:32:25 2010	(r30346)
+++ trunk/stream/tvi_dshow.c	Sun Jan 17 14:18:59 2010	(r30347)
@@ -374,6 +374,9 @@ static int tv_available_inputs_count = 0
 *
 *---------------------------------------------------------------------------------------
 */
+// selectany can not be used with "static", fixes compilation with mingw-w64
+#undef DECLSPEC_SELECTANY
+#define DECLSPEC_SELECTANY
 /// CLSID definitions (used for CoCreateInstance call)
 #define CLSID_SampleGrabber MP_CLSID_SampleGrabber
 static DEFINE_GUID(CLSID_SampleGrabber, 0xC1F400A0, 0x3F08, 0x11d3, 0x9F, 0x0B,


More information about the MPlayer-cvslog mailing list