From: Abramo Bagnara Date: Tue, 18 Jul 2000 13:37:36 +0000 (+0000) Subject: Fixed double increment X-Git-Tag: v1.0.3~1193 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=9059d261673519da5562cd3ae097c3e0010d535e;p=alsa-lib.git Fixed double increment --- diff --git a/src/pcm/plugin/rate.c b/src/pcm/plugin/rate.c index a7853075..def5667f 100644 --- a/src/pcm/plugin/rate.c +++ b/src/pcm/plugin/rate.c @@ -99,7 +99,7 @@ static void resample_expand(snd_pcm_plugin_t *plugin, #include "plugin_ops.h" #undef GET_S16_END - for (channel = 0; channel < plugin->src_format.channels; channel++, rchannels++) { + for (channel = 0; channel < plugin->src_format.channels; channel++) { pos = data->pos; S1 = rchannels->last_S1; S2 = rchannels->last_S2;