...Because we are using pointer arithmetic with float pointers
authorRémi Denis-Courmont <remi@remlab.net>
Sun, 17 Jan 2010 11:06:32 +0000 (13:06 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Sun, 17 Jan 2010 11:07:18 +0000 (13:07 +0200)
modules/audio_filter/resampler/bandlimited.c

index 2f9267b..2b79430 100644 (file)
@@ -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 );