Commit 408587e2 authored by Thomas Guillem's avatar Thomas Guillem

channel_mixer: trivial: update buffer size when dropping

This fixes an assert in aout_OutputPlay() when the aout get too much data.
parent 53e0b505
......@@ -116,6 +116,7 @@ static block_t *Downmix( filter_t *p_filter, block_t *p_buf )
p_src += i_input_nb;
p_dest += i_output_nb;
}
p_buf->i_buffer = p_buf->i_buffer * i_output_nb / i_input_nb;
return p_buf;
}
......
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