X-Git-Url: https://git.videolan.org/gitweb.cgi/vlc.git/?p=vlc.git;p=vlc.git;a=blobdiff_plain;f=src%2Fmodules%2Fmodules.c;h=3611b7d04492f7ed1e9fe3aca4a3f4677dfc9554;hp=9e426c6cf7eeda5ab78eb652b98c5a40333482f9;hb=7a5fd4bee1b3393c5f667364c96f57ff36c80b26;hpb=c6170002e964de01bf5376187959a52fa67c5829 diff --git a/src/modules/modules.c b/src/modules/modules.c index 9e426c6cf7..3611b7d044 100644 --- a/src/modules/modules.c +++ b/src/modules/modules.c @@ -1119,7 +1119,7 @@ static module_t * AllocatePlugin( vlc_object_t * p_this, char * psz_file ) /* Now that we have successfully loaded the module, we can * allocate a structure for it */ - p_module = vlc_object_create( p_this, VLC_OBJECT_MODULE ); + p_module = vlc_module_create( p_this ); if( p_module == NULL ) { msg_Err( p_this, "out of memory" ); @@ -1130,9 +1130,6 @@ static module_t * AllocatePlugin( vlc_object_t * p_this, char * psz_file ) /* We need to fill these since they may be needed by CallEntry() */ p_module->psz_filename = psz_file; p_module->handle = handle; -#ifndef HAVE_SHARED_LIBVLC - p_module->p_symbols = &p_this->p_libvlc_global->p_module_bank->symbols; -#endif p_module->b_loaded = VLC_TRUE; /* Initialize the module: fill p_module, default config */