[vlc-devel] commit: Oops, sed isn't always enough. (Antoine Cellerier )

git version control git at videolan.org
Thu Feb 11 19:59:45 CET 2010


vlc | branch: master | Antoine Cellerier <dionoea at videolan.org> | Thu Feb 11 20:01:13 2010 +0100| [3a4de92b572fe75b489b4e00661648fddbcebcad] | committer: Antoine Cellerier 

Oops, sed isn't always enough.

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

 src/input/vlm.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/src/input/vlm.c b/src/input/vlm.c
index 19f2a56..96197a1 100644
--- a/src/input/vlm.c
+++ b/src/input/vlm.c
@@ -156,7 +156,6 @@ vlm_t *vlm_New ( vlc_object_t *p_this )
     }
 
     vlc_mutex_init( &p_vlm->lock );
-    vlc_mutex_init( &p_vlm->lock );
     vlc_cond_init_daytime( &p_vlm->wait );
     p_vlm->i_id = 1;
     TAB_INIT( p_vlm->i_media, p_vlm->media );
@@ -170,7 +169,6 @@ vlm_t *vlm_New ( vlc_object_t *p_this )
     {
         vlc_cond_destroy( &p_vlm->wait );
         vlc_mutex_destroy( &p_vlm->lock );
-        vlc_mutex_destroy( &p_vlm->lock );
         vlc_object_release( p_vlm );
         vlc_mutex_unlock( &vlm_mutex );
         return NULL;
@@ -239,7 +237,6 @@ static void vlm_Destructor( vlm_t *p_vlm )
 
     vlc_cond_destroy( &p_vlm->wait );
     vlc_mutex_destroy( &p_vlm->lock );
-    vlc_mutex_destroy( &p_vlm->lock );
 }
 
 /*****************************************************************************




More information about the vlc-devel mailing list