diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-02-20 12:23:48 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-02-20 12:23:48 +0100 |
commit | 8826313be011b3077c3ac4c6238f2b62e1f3227d (patch) | |
tree | a4846fc8b05ef776b1ed49801b7e3a5bfc5ebf5b | |
parent | 9ecbf33313eee5c4e068e61451634cbfe4790694 (diff) | |
download | UXP-8826313be011b3077c3ac4c6238f2b62e1f3227d.tar UXP-8826313be011b3077c3ac4c6238f2b62e1f3227d.tar.gz UXP-8826313be011b3077c3ac4c6238f2b62e1f3227d.tar.lz UXP-8826313be011b3077c3ac4c6238f2b62e1f3227d.tar.xz UXP-8826313be011b3077c3ac4c6238f2b62e1f3227d.zip |
Fix build bustage: keep MF_WIN7_VERSION name
-rw-r--r-- | dom/media/platforms/wmf/WMFUtils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/media/platforms/wmf/WMFUtils.cpp b/dom/media/platforms/wmf/WMFUtils.cpp index b5747e326..055012d0f 100644 --- a/dom/media/platforms/wmf/WMFUtils.cpp +++ b/dom/media/platforms/wmf/WMFUtils.cpp @@ -210,12 +210,12 @@ MFStartup() return hr; } - const int MF_VERSION = (0x0002 << 16 | MF_API_VERSION); + const int MF_WIN7_VERSION = (0x0002 << 16 | MF_API_VERSION); // decltype is unusable for functions having default parameters DECL_FUNCTION_PTR(MFStartup, ULONG, DWORD); ENSURE_FUNCTION_PTR_(MFStartup, Mfplat.dll) - return MFStartupPtr(MF_VERSION, MFSTARTUP_FULL); + return MFStartupPtr(MF_WIN7_VERSION, MFSTARTUP_FULL); } HRESULT |