vlc | branch: master | Steve Lhomme <[email protected]> | Fri Mar 10 10:36:38 
2017 +0100| [d141214e460fbe9632f86311cd8a22f07c7e7529] | committer: 
Jean-Baptiste Kempf

core: win32: load dependent libraries in modules from System32 only

The modules are always loaded with an absolute path. So we should not
need anything else to load modules properly with their system libraries.

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d141214e460fbe9632f86311cd8a22f07c7e7529
---

 src/win32/specific.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/win32/specific.c b/src/win32/specific.c
index 72c4fb7..455b318 100644
--- a/src/win32/specific.c
+++ b/src/win32/specific.c
@@ -69,8 +69,7 @@ void system_Init(void)
     if (GetProcAddress(GetModuleHandle(TEXT("kernel32.dll")),
                                        "SetDefaultDllDirectories") != NULL)
 # endif /* FIXME: not reentrant */
-        LoadLibraryFlags = LOAD_LIBRARY_SEARCH_APPLICATION_DIR |
-                           LOAD_LIBRARY_SEARCH_SYSTEM32;
+        LoadLibraryFlags = LOAD_LIBRARY_SEARCH_SYSTEM32;
 #endif
 }
 

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to