From f658e3e14830304dd2921cb35931242a4206d484 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Tue, 10 May 2005 07:05:47 +0000 Subject: [PATCH] remove broken *_step initialization (caused by previous Fedora 4 patch) Thanks to Abramo for notice. --- src/pcm/pcm_dmix_generic.c | 6 ------ 1 file changed, 6 deletions(-) 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; -- 2.47.1