Commit bcee7c9e authored by Rémi Duraffort's avatar Rémi Duraffort
Browse files

Another check for malloc.

parent c9c5170b
......@@ -231,6 +231,8 @@ static int Open( vlc_object_t *p_this )
int i;
p_effect = malloc( sizeof( visual_effect_t ) );
if( !p_effect )
p_effect->i_width = p_sys->i_width;
p_effect->i_height= p_sys->i_height;
p_effect->i_nb_chans = aout_FormatNbChannels( &p_filter->input);
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