Commit 3dd19832 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Fixed p_aout was used after the object was released.

parent b775ea9d
...@@ -102,10 +102,9 @@ int __aout_VolumeSet( vlc_object_t * p_object, audio_volume_t i_volume ) ...@@ -102,10 +102,9 @@ int __aout_VolumeSet( vlc_object_t * p_object, audio_volume_t i_volume )
} }
vlc_mutex_unlock( &p_aout->mixer_lock ); vlc_mutex_unlock( &p_aout->mixer_lock );
vlc_object_release( p_aout );
val.b_bool = VLC_TRUE; val.b_bool = VLC_TRUE;
var_Set( p_aout, "intf-change", val ); var_Set( p_aout, "intf-change", val );
vlc_object_release( p_aout );
return i_result; return i_result;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment