[vlc-commits] mft: Dynamically load the DLL on windows store builds
Hugo Beauzée-Luyssen
git at videolan.org
Tue Mar 29 15:05:16 CEST 2016
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Fri Mar 25 15:25:51 2016 +0100| [472ec062c851ba9ea53f9f030d1feff8e49da1dd] | committer: Hugo Beauzée-Luyssen
mft: Dynamically load the DLL on windows store builds
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=472ec062c851ba9ea53f9f030d1feff8e49da1dd
---
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 7c6956c..caafa3a 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;
More information about the vlc-commits
mailing list