vlc | branch: master | Jean-Baptiste Kempf <[email protected]> | Mon Mar 16 19:11:18 2015 +0100| [48d665494c2d23e474081a8b222942068b74b9b3] | committer: Jean-Baptiste Kempf
MFT: GUID_AC3 should be defined in Mingw-w64 4.0 Of course, it's technically a GCC bug, because selectany is broken, but there is no simple fix for that. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=48d665494c2d23e474081a8b222942068b74b9b3 --- modules/codec/mft.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/codec/mft.c b/modules/codec/mft.c index bc32b46..22e647f 100644 --- a/modules/codec/mft.c +++ b/modules/codec/mft.c @@ -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. _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
