Commit 2734c1b4 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

memset outside of lock

parent bad878b5
...@@ -1039,8 +1039,8 @@ static es_out_id_t *EsOutAdd( es_out_t *out, es_format_t *fmt ) ...@@ -1039,8 +1039,8 @@ static es_out_id_t *EsOutAdd( es_out_t *out, es_format_t *fmt )
es->i_channel = p_sys->i_audio; es->i_channel = p_sys->i_audio;
vlc_mutex_lock( &p_input->p->input.p_item->lock );
memset( &rg, 0, sizeof(rg) ); memset( &rg, 0, sizeof(rg) );
vlc_mutex_lock( &p_input->p->input.p_item->lock );
vlc_audio_replay_gain_MergeFromMeta( &rg, p_input->p->input.p_item->p_meta ); vlc_audio_replay_gain_MergeFromMeta( &rg, p_input->p->input.p_item->p_meta );
vlc_mutex_unlock( &p_input->p->input.p_item->lock ); vlc_mutex_unlock( &p_input->p->input.p_item->lock );
......
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