Commit c7caf000 authored by Rafaël Carré's avatar Rafaël Carré

remove useless msg_Err() , use memset() for simplicity

parent dec40512
......@@ -115,14 +115,8 @@ static int Open ( vlc_object_t *p_this )
/* Allocate structures */
p_aout->output.p_sys = p_sys = malloc( sizeof( aout_sys_t ) );
if( p_sys == NULL )
{
msg_Err( p_aout, "out of memory" );
return VLC_ENOMEM;
}
p_sys->started = 0;
p_sys->stream = NULL;
p_sys->mainloop = NULL;
p_sys->context = NULL;
memset( p_sys, 0, sizeof( aout_sys_t ) );
PULSE_DEBUG( "Pulse start initialization");
......
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