vlc/vlc-1.1 | branch: master | Pierre Ynard <[email protected]> | Mon Dec 13 02:06:02 2010 +0100| [e675f5fe32d97537ed216a33bd30fd2923e0e69f] | committer: Pierre Ynard
rtp sout: destroy mutex (cherry picked from commit 875531f7c312b14d372827f8fa55ed7c0a182c2f) Signed-off-by: Pierre Ynard <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=e675f5fe32d97537ed216a33bd30fd2923e0e69f --- 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 d2e32fd..7fe37d5 100644 --- a/modules/stream_out/rtp.c +++ b/modules/stream_out/rtp.c @@ -504,6 +504,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_destination ); free( p_sys ); @@ -519,6 +520,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_destination ); free( p_sys ); @@ -531,6 +533,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_destination ); free( p_sys ); _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
