X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Faudio_filter%2Fresampler%2Fbandlimited.c;h=5a5bc99850c9184ad5244650308761b74158fdf0;hb=6ee1e193fd896ab9a4729fde14f009d9ce629815;hp=a2b07d92801d843c1c186248fa76bfbaa74ffddb;hpb=3305b049e7f587b23359a1c9047fb5763d19c1dc;p=vlc diff --git a/modules/audio_filter/resampler/bandlimited.c b/modules/audio_filter/resampler/bandlimited.c index a2b07d9280..5a5bc99850 100644 --- a/modules/audio_filter/resampler/bandlimited.c +++ b/modules/audio_filter/resampler/bandlimited.c @@ -10,7 +10,7 @@ * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the @@ -272,7 +272,7 @@ static void DoWork( aout_instance_t * p_aout, aout_filter_t * p_filter, if( p_filter->p_sys->d_old_factor == 1 ) { /* Just copy the samples */ - memcpy( p_out, p_in, + memcpy( p_out, p_in, p_filter->input.i_bytes_per_frame ); p_in += i_nb_channels; p_out += i_nb_channels;