[vlc-devel] commit: fix [0b988497] : initialize volume_vars_lock ( Rafaël Carré )

git version control git at videolan.org
Wed Jan 13 01:58:07 CET 2010


vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Wed Jan 13 01:44:46 2010 +0100| [041e0d11d5410da4d51dbf1dcff8f437adfbf044] | committer: Rafaël Carré 

fix [0b988497] : initialize volume_vars_lock

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

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

diff --git a/src/audio_output/common.c b/src/audio_output/common.c
index 1da5ab4..2bdece1 100644
--- a/src/audio_output/common.c
+++ b/src/audio_output/common.c
@@ -88,6 +88,7 @@ aout_instance_t * __aout_New( vlc_object_t * p_parent )
     /* Initialize members. */
     vlc_mutex_init( &p_aout->input_fifos_lock );
     vlc_mutex_init( &p_aout->mixer_lock );
+    vlc_mutex_init( &p_aout->volume_vars_lock );
     vlc_mutex_init( &p_aout->output_fifo_lock );
     p_aout->i_nb_inputs = 0;
     p_aout->mixer_multiplier = 1.0;
@@ -111,6 +112,7 @@ static void aout_Destructor( vlc_object_t * p_this )
     aout_instance_t * p_aout = (aout_instance_t *)p_this;
     vlc_mutex_destroy( &p_aout->input_fifos_lock );
     vlc_mutex_destroy( &p_aout->mixer_lock );
+    vlc_mutex_destroy( &p_aout->volume_vars_lock );
     vlc_mutex_destroy( &p_aout->output_fifo_lock );
 }
 




More information about the vlc-devel mailing list