From 472ec062c851ba9ea53f9f030d1feff8e49da1dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Beauz=C3=A9e-Luyssen?= Date: Fri, 25 Mar 2016 15:25:51 +0100 Subject: [PATCH] mft: Dynamically load the DLL on windows store builds --- modules/codec/mft.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/codec/mft.c b/modules/codec/mft.c index 7c6956cb0e..caafa3a16f 100644 --- a/modules/codec/mft.c +++ b/modules/codec/mft.c @@ -1097,7 +1097,7 @@ static int FindMFT(decoder_t *p_dec) static int LoadMFTLibrary(MFHandle *mf) { -#if _WIN32_WINNT < 0x601 +#if _WIN32_WINNT < 0x601 || VLC_WINSTORE_APP mf->mfplat_dll = LoadLibrary(TEXT("mfplat.dll")); if (!mf->mfplat_dll) return VLC_EGENERIC;