Commit ac586317 authored by Laurent Aimar's avatar Laurent Aimar
Browse files

Fixed uninitialized member fields for audio filter2.

parent 4c401bde
......@@ -318,6 +318,7 @@ static int OpenFilter( vlc_object_t *p_this )
msg_Err( p_filter, "out of memory" );
return -1;
}
p_sys->i_reject_count = 0;
p_filter->pf_audio_filter = Convert;
......@@ -394,6 +395,7 @@ static block_t *Convert( filter_t *p_filter, block_t *p_block )
aout_filter.output.i_format = p_filter->fmt_out.i_codec;
in_buf.p_buffer = p_block->p_buffer;
in_buf.b_discontinuity = VLC_FALSE;
in_buf.i_nb_bytes = p_block->i_buffer;
in_buf.i_nb_samples = p_block->i_samples;
out_buf.p_buffer = p_out->p_buffer;
......
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