[vlc-devel] commit: Remove useless member of libvlc private data ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat Jan 2 22:16:13 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jan  2 23:15:58 2010 +0200| [3b90678b8f02969db9cf950976a3dbe6cb936e96] | committer: Rémi Denis-Courmont 

Remove useless member of libvlc private data

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

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

diff --git a/src/libvlc.c b/src/libvlc.c
index 3d7cabd..2a54c70 100644
--- a/src/libvlc.c
+++ b/src/libvlc.c
@@ -277,7 +277,6 @@ libvlc_int_t * libvlc_InternalCreate( void )
 
     /* Initialize mutexes */
     vlc_mutex_init( &priv->timer_lock );
-    vlc_cond_init( &priv->exiting );
 
     return p_libvlc;
 }
@@ -1133,7 +1132,6 @@ void libvlc_InternalDestroy( libvlc_int_t *p_libvlc )
     msg_Destroy( p_libvlc );
 
     /* Destroy mutexes */
-    vlc_cond_destroy( &priv->exiting );
     vlc_mutex_destroy( &priv->timer_lock );
 
 #ifndef NDEBUG /* Hack to dump leaked objects tree */
diff --git a/src/libvlc.h b/src/libvlc.h
index 640c4b8..47e86cc 100644
--- a/src/libvlc.h
+++ b/src/libvlc.h
@@ -200,7 +200,6 @@ typedef struct sap_handler_t sap_handler_t;
 typedef struct libvlc_priv_t
 {
     libvlc_int_t       public_data;
-    vlc_cond_t         exiting; ///< signaled when VLC wants to exit
 
     int                i_last_input_id ; ///< Last id of input item
 




More information about the vlc-devel mailing list