[vlc-devel] commit: ...Because we are using pointer arithmetic with float pointers ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Jan 17 12:07:27 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jan 17 13:06:32 2010 +0200| [6fa2a46b78f489a32774eba5867d6189779f9ce3] | committer: Rémi Denis-Courmont 

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

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6fa2a46b78f489a32774eba5867d6189779f9ce3
---

 modules/audio_filter/resampler/bandlimited.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/modules/audio_filter/resampler/bandlimited.c b/modules/audio_filter/resampler/bandlimited.c
index 2f9267b..2b79430 100644
--- a/modules/audio_filter/resampler/bandlimited.c
+++ b/modules/audio_filter/resampler/bandlimited.c
@@ -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 );




More information about the vlc-devel mailing list