[vlc-commits] commit: rtp sout: destroy mutex (Pierre Ynard )

git at videolan.org git at videolan.org
Mon Dec 13 02:06:55 CET 2010


vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Mon Dec 13 02:06:02 2010 +0100| [875531f7c312b14d372827f8fa55ed7c0a182c2f] | committer: Pierre Ynard 

rtp sout: destroy mutex

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

 modules/stream_out/rtp.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/modules/stream_out/rtp.c b/modules/stream_out/rtp.c
index 55b6e49..3883758 100644
--- a/modules/stream_out/rtp.c
+++ b/modules/stream_out/rtp.c
@@ -553,6 +553,7 @@ static int Open( vlc_object_t *p_this )
             msg_Err( p_stream, "unsupported muxer type for RTP (only TS/PS)" );
             free( psz );
             vlc_mutex_destroy( &p_sys->lock_sdp );
+            vlc_mutex_destroy( &p_sys->lock_ts );
             vlc_mutex_destroy( &p_sys->lock_es );
             free( p_sys->psz_vod_session );
             free( p_sys->psz_destination );
@@ -569,6 +570,7 @@ static int Open( vlc_object_t *p_this )
             msg_Err( p_stream, "cannot create muxer" );
             sout_AccessOutDelete( p_sys->p_grab );
             vlc_mutex_destroy( &p_sys->lock_sdp );
+            vlc_mutex_destroy( &p_sys->lock_ts );
             vlc_mutex_destroy( &p_sys->lock_es );
             free( p_sys->psz_vod_session );
             free( p_sys->psz_destination );
@@ -582,6 +584,7 @@ static int Open( vlc_object_t *p_this )
             sout_MuxDelete( p_sys->p_mux );
             sout_AccessOutDelete( p_sys->p_grab );
             vlc_mutex_destroy( &p_sys->lock_sdp );
+            vlc_mutex_destroy( &p_sys->lock_ts );
             vlc_mutex_destroy( &p_sys->lock_es );
             free( p_sys->psz_vod_session );
             free( p_sys->psz_destination );



More information about the vlc-commits mailing list