# HG changeset patch # User reimar # Date 1263734339 0 # Node ID fd0de0336717edb44a32323087610b4da8de3b63 # Parent 79bac7fbb17c5addc81e4f6f4cebc01c33174d5d Add hack to fix tvi_dshow compilation with 64-bit MinGW diff -r 79bac7fbb17c -r fd0de0336717 stream/tvi_dshow.c --- a/stream/tvi_dshow.c Sun Jan 17 12:32:25 2010 +0000 +++ b/stream/tvi_dshow.c Sun Jan 17 13:18:59 2010 +0000 @@ -374,6 +374,9 @@ * *--------------------------------------------------------------------------------------- */ +// 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,