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

mad: remove no-op

Those values are already set by the caller function.
parent a34b8d76
......@@ -86,10 +86,6 @@ static void DoWork( filter_t * p_filter,
{
filter_sys_t *p_sys = p_filter->p_sys;
p_out_buf->i_nb_samples = p_in_buf->i_nb_samples;
p_out_buf->i_buffer = p_in_buf->i_nb_samples * sizeof(float) *
aout_FormatNbChannels( &p_filter->fmt_out.audio );
/* Do the actual decoding now. */
mad_stream_buffer( &p_sys->mad_stream, p_in_buf->p_buffer,
p_in_buf->i_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