Mercurial > mplayer.hg
changeset 30305:fd0de0336717
Add hack to fix tvi_dshow compilation with 64-bit MinGW
author | reimar |
---|---|
date | Sun, 17 Jan 2010 13:18:59 +0000 |
parents | 79bac7fbb17c |
children | d0b5ec16fb23 |
files | stream/tvi_dshow.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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,