vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Mon Jul 22 21:02:09 2019 +0300| [7a37bab5779dc9da8beb1e3c9e1fae5a8cb75140] | committer: Rémi Denis-Courmont
modules: do not use magic value for plugin handle This is not portable, and is no longer needed after the previous commit. Fixes: #22569. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7a37bab5779dc9da8beb1e3c9e1fae5a8cb75140 --- src/modules/bank.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/bank.c b/src/modules/bank.c index 7394f41b78..90266c0e0e 100644 --- a/src/modules/bank.c +++ b/src/modules/bank.c @@ -166,7 +166,7 @@ static vlc_plugin_t *module_InitStatic(vlc_plugin_cb entry) return NULL; #ifdef HAVE_DYNAMIC_PLUGINS - atomic_init(&lib->handle, 1 /* must be non-zero for module_Map() */); + atomic_init(&lib->handle, 0); lib->unloadable = false; #endif return lib; _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
