[vlc-devel] [PATCH] win32: plugin: fix loaded module handle not used on winstore

Steve Lhomme robux4 at videolabs.io
Mon Jul 11 15:36:26 CEST 2016


---
 src/win32/plugin.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/win32/plugin.c b/src/win32/plugin.c
index 3d639ac..3f3bb81 100644
--- a/src/win32/plugin.c
+++ b/src/win32/plugin.c
@@ -111,7 +111,7 @@ int module_Load( vlc_object_t *p_this, const char *psz_file,
         SetThreadErrorMode (mode, NULL);
     }
 #else
-    LoadPackagedLibrary( wfile, 0 );
+    handle = LoadPackagedLibrary( wfile, 0 );
 #endif
     free (wfile);
 
-- 
2.8.2



More information about the vlc-devel mailing list