From: Jaroslav Kysela Date: Tue, 10 May 2005 07:05:47 +0000 (+0000) Subject: remove broken *_step initialization (caused by previous Fedora 4 patch) X-Git-Tag: v1.0.9rc4~37 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=f658e3e14830304dd2921cb35931242a4206d484;p=alsa-lib.git remove broken *_step initialization (caused by previous Fedora 4 patch) Thanks to Abramo for notice. --- diff --git a/src/pcm/pcm_dmix_generic.c b/src/pcm/pcm_dmix_generic.c index 2bb39686..f8c023e5 100644 --- a/src/pcm/pcm_dmix_generic.c +++ b/src/pcm/pcm_dmix_generic.c @@ -53,9 +53,6 @@ static void mix_areas1(unsigned int size, size_t src_step, size_t sum_step) { register signed int sample, old_sample; - src_step /= sizeof(*src); - dst_step /= sizeof(*dst); - sum_step /= sizeof(*sum); for (;;) { sample = *src; @@ -87,9 +84,6 @@ static void mix_areas2(unsigned int size, size_t src_step, size_t sum_step) { register signed int sample, old_sample; - src_step /= sizeof(*src); - dst_step /= sizeof(*dst); - sum_step /= sizeof(*sum); for (;;) { sample = *src / 256;