]> git.sesse.net Git - vlc/commitdiff
MFT: GUID_AC3 should be defined in Mingw-w64 4.0
authorJean-Baptiste Kempf <jb@videolan.org>
Mon, 16 Mar 2015 18:11:18 +0000 (19:11 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 16 Mar 2015 18:12:17 +0000 (19:12 +0100)
Of course, it's technically a GCC bug, because selectany is broken, but
there is no simple fix for that.

modules/codec/mft.c

index bc32b468a136a41db83ba106cf706dc4deb33641..22e647fd885a511acb5ef635713493f737a6a292 100644 (file)
@@ -174,7 +174,9 @@ static const pair_format_guid video_format_table[] =
     { 0, NULL }
 };
 
+#if defined(__MINGW64_VERSION_MAJOR) && __MINGW64_VERSION_MAJOR < 4
 DEFINE_GUID(MFAudioFormat_Dolby_AC3, 0xe06d802c, 0xdb46, 0x11cf, 0xb4, 0xd1, 0x00, 0x80, 0x5f, 0x6c, 0xbb, 0xea);
+#endif
 /*
  * We cannot use the FOURCC code for audio either since the
  * WAVE_FORMAT value is used to create the GUID.