diff options
-rw-r--r-- | stream/tvi_dshow.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/stream/tvi_dshow.c b/stream/tvi_dshow.c index d5a0209280..9aec47ed54 100644 --- a/stream/tvi_dshow.c +++ b/stream/tvi_dshow.c @@ -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, |