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

...Because we are using pointer arithmetic with float pointers

parent 9537d977
......@@ -185,7 +185,6 @@ static block_t *Resample( filter_t * p_filter, block_t * p_in_buf )
p_sys->i_old_wing * 2 *
p_filter->fmt_in.audio.i_bytes_per_frame );
}
/* XXX: why i_nb_channels instead of i_bytes_per_frame??? */
vlc_memcpy( p_in + p_sys->i_old_wing * 2 * i_nb_channels,
p_in_buf->p_buffer,
p_in_buf->i_nb_samples * p_filter->fmt_in.audio.i_bytes_per_frame );
......
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