vlc | branch: master | Pierre Ynard <linkfa...@yahoo.fr> | Fri May 18 04:10:28 
2012 +0200| [b59a771680a91c563558c3e3bee7df989561a84b] | committer: Pierre Ynard

vlm: use vlc_object_alive()

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

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

diff --git a/src/input/vlm.c b/src/input/vlm.c
index 4dce5ec..6813591 100644
--- a/src/input/vlm.c
+++ b/src/input/vlm.c
@@ -421,7 +421,7 @@ static void* Manage( void* p_object )
     int canc = vlc_savecancel ();
     i_lastcheck = vlm_Date();
 
-    while( !vlm->b_die )
+    while( vlc_object_alive( vlm ) )
     {
         char **ppsz_scheduled_commands = NULL;
         int    i_scheduled_commands = 0;

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to