[vlc-devel] commit: SAP: mutex double initialization ( Rémi Denis-Courmont )

git version control git at videolan.org
Tue Jun 17 21:31:31 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Tue Jun 17 21:55:55 2008 +0300| [838cee473b8ab2c2ed36f7c73c15ab2966329116]

SAP: mutex double initialization

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

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

diff --git a/src/stream_output/sap.c b/src/stream_output/sap.c
index 30479a7..70b078d 100644
--- a/src/stream_output/sap.c
+++ b/src/stream_output/sap.c
@@ -130,8 +130,6 @@ sap_handler_t *announce_SAPHandlerCreate( announce_handler_t *p_announce )
 
     p_sap->psz_object_name = strdup( "sap announcer" );
 
-    vlc_mutex_init( &p_sap->object_lock );
-
     p_sap->pf_add = announce_SAPAnnounceAdd;
     p_sap->pf_del = announce_SAPAnnounceDel;
 




More information about the vlc-devel mailing list