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

Steve Lhomme git at videolan.org
Mon Jul 11 15:48:42 CEST 2016


vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Mon Jul 11 15:36:26 2016 +0200| [1d2679ffe05bb44d087c347eec05aa9e651979d3] | committer: Hugo Beauzée-Luyssen

win32: plugin: fix loaded module handle not used on winstore

Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

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

 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);
 



More information about the vlc-commits mailing list