Commit e4e08275 authored by Rémi Duraffort's avatar Rémi Duraffort

Fix unitialized value.

parent 9b87946b
...@@ -135,9 +135,9 @@ static int Create( vlc_object_t *p_this ) ...@@ -135,9 +135,9 @@ static int Create( vlc_object_t *p_this )
/* Allocate the memory needed to store the module's structure */ /* Allocate the memory needed to store the module's structure */
p_sys = malloc( sizeof(filter_sys_t) ); p_sys = malloc( sizeof(filter_sys_t) );
p_filter->p_sys = (struct aout_filter_sys_t *)p_sys;
if( p_sys == NULL ) if( p_sys == NULL )
return VLC_ENOMEM; return VLC_ENOMEM;
p_filter->p_sys = (struct aout_filter_sys_t *)p_sys;
/* Calculate worst case for the length of the filter wing */ /* Calculate worst case for the length of the filter wing */
d_factor = (double)p_filter->output.i_rate d_factor = (double)p_filter->output.i_rate
...@@ -156,6 +156,7 @@ static int Create( vlc_object_t *p_this ) ...@@ -156,6 +156,7 @@ static int Create( vlc_object_t *p_this )
} }
p_sys->i_old_wing = 0; p_sys->i_old_wing = 0;
p_sys->b_filter2 = false; /* It seams to be a good valuefor this module */
p_filter->pf_do_work = DoWork; p_filter->pf_do_work = DoWork;
/* We don't want a new buffer to be created because we're not sure we'll /* We don't want a new buffer to be created because we're not sure we'll
......
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