[vlc-devel] commit: Remove one core dependency upon the module bank ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Oct 5 14:19:12 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sun Oct  5 15:18:50 2008 +0300| [283b93f9d3c9fa87a6bc428ed12dbc7e7fa228ae] | committer: Rémi Denis-Courmont 

Remove one core dependency upon the module bank

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

 src/libvlc.c          |    1 -
 src/modules/modules.c |    2 +-
 2 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/libvlc.c b/src/libvlc.c
index 6e3bcd6..5ac7ec0 100644
--- a/src/libvlc.c
+++ b/src/libvlc.c
@@ -248,7 +248,6 @@ libvlc_int_t * libvlc_InternalCreate( void )
         /* Guess what CPU we have */
         cpu_flags = CPUCapabilities();
         /* The module bank will be initialized later */
-        p_module_bank = NULL;
     }
 
     /* Allocate a libvlc instance object */
diff --git a/src/modules/modules.c b/src/modules/modules.c
index 5e6d6af..b3d4d37 100644
--- a/src/modules/modules.c
+++ b/src/modules/modules.c
@@ -90,7 +90,7 @@
 #include "modules/modules.h"
 #include "modules/builtin.h"
 
-module_bank_t *p_module_bank;
+module_bank_t *p_module_bank = NULL;
 
 /*****************************************************************************
  * Local prototypes




More information about the vlc-devel mailing list