[vlc-commits] core: win32: load dependent libraries in modules from System32 only

Steve Lhomme git at videolan.org
Fri Mar 10 12:02:57 CET 2017


vlc/vlc-2.2 | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Fri Mar 10 10:36:38 2017 +0100| [a1525dd7344c0b25a9a57118f6644b6b5f1c1b11] | 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 <jb at videolan.org>
(cherry picked from commit d141214e460fbe9632f86311cd8a22f07c7e7529)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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 997816a..2c052d1 100644
--- a/src/win32/specific.c
+++ b/src/win32/specific.c
@@ -67,8 +67,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
 }
 



More information about the vlc-commits mailing list