summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-17 13:18:59 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-17 13:18:59 +0000
commit77af8d08592dbcb80ed87336b630507639a16d38 (patch)
tree17ad0aed671d014636357ae62983da8201a4061e /stream
parent33809543d8dded7045234066627443dc9f894be5 (diff)
downloadmpv-77af8d08592dbcb80ed87336b630507639a16d38.tar.bz2
mpv-77af8d08592dbcb80ed87336b630507639a16d38.tar.xz
Add hack to fix tvi_dshow compilation with 64-bit MinGW
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30347 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
-rw-r--r--stream/tvi_dshow.c3
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,