[vlc-commits] core: module: Fix wrong variable being used.

Hugo Beauzée-Luyssen git at videolan.org
Fri Jun 30 11:00:17 CEST 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Fri Jun 30 10:59:50 2017 +0200| [ec30f218a2947d6084410607938d95b7ab5e528c] | committer: Hugo Beauzée-Luyssen

core: module: Fix wrong variable being used.

Fixes regression introduced by 9bf573128c61dae322f79b15700e9b3e3a1d5400

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

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

diff --git a/src/modules/entry.c b/src/modules/entry.c
index 5557d8ddfb..9c81b49b9b 100644
--- a/src/modules/entry.c
+++ b/src/modules/entry.c
@@ -209,7 +209,7 @@ static int vlc_plugin_desc_cb(void *ctx, void *tgt, int propid, ...)
             }
 
             *(va_arg (ap, module_t **)) = submodule;
-            if (module == NULL)
+            if (super == NULL)
                 break;
 
             /* Inheritance. Ugly!! */



More information about the vlc-commits mailing list