[vlc-devel] commit: AllocatePluginDir: remove dummy b_die check ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Aug 2 18:35:03 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Aug  2 19:01:35 2009 +0300| [46d4efcdc80f5ceff7ccf56b9611e62f8a7fece4] | committer: Rémi Denis-Courmont 

AllocatePluginDir: remove dummy b_die check

Nothing can really kill VLC when browsing plugins, since nothing has
started.

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

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

diff --git a/src/modules/modules.c b/src/modules/modules.c
index 815d11c..a495d7e 100644
--- a/src/modules/modules.c
+++ b/src/modules/modules.c
@@ -1102,7 +1102,7 @@ static void AllocatePluginDir( vlc_object_t *p_this, module_bank_t *p_bank,
     i_dirlen = strlen( psz_dir );
 
     /* Parse the directory and try to load all files it contains. */
-    while( !p_this->p_libvlc->b_die && ( file = readdir( dir ) ) )
+    while( ( file = readdir( dir ) ) )
     {
         struct stat statbuf;
         unsigned int i_len;




More information about the vlc-devel mailing list