SDL_mixer: _Eff_position_u8_c4: change multipliers from 6 to 4 (github bug #261.) (c99c2)

From c99c29a05be0bb17faebf10ed8c733cf0cd53d9b Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Thu, 18 Feb 2021 01:50:02 +0300
Subject: [PATCH] _Eff_position_u8_c4: change multipliers from 6 to 4 (github
 bug #261.)

looks like a copy/paste bug, as pointed out by icculus.
---
 effect_position.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/effect_position.c b/effect_position.c
index 081c7a0..8802c0c 100644
--- a/effect_position.c
+++ b/effect_position.c
@@ -166,7 +166,7 @@ static void SDLCALL _Eff_position_u8_c4(int chan, void *stream, int len, void *u
     }
 
     if (args->room_angle == 0)
-    for (i = 0; i < len; i += sizeof (Uint8) * 6) {
+    for (i = 0; i < len; i += sizeof (Uint8) * 4) {
         /* must adjust the sample so that 0 is the center */
         *ptr = (Uint8) ((Sint8) ((((float) (Sint8) (*ptr - 128))
             * args->left_f) * args->distance_f) + 128);
@@ -182,7 +182,7 @@ static void SDLCALL _Eff_position_u8_c4(int chan, void *stream, int len, void *u
         ptr++;
     }
     else if (args->room_angle == 90)
-    for (i = 0; i < len; i += sizeof (Uint8) * 6) {
+    for (i = 0; i < len; i += sizeof (Uint8) * 4) {
         /* must adjust the sample so that 0 is the center */
         *ptr = (Uint8) ((Sint8) ((((float) (Sint8) (*ptr - 128))
             * args->right_f) * args->distance_f) + 128);
@@ -198,7 +198,7 @@ static void SDLCALL _Eff_position_u8_c4(int chan, void *stream, int len, void *u
         ptr++;
     }
     else if (args->room_angle == 180)
-    for (i = 0; i < len; i += sizeof (Uint8) * 6) {
+    for (i = 0; i < len; i += sizeof (Uint8) * 4) {
         /* must adjust the sample so that 0 is the center */
         *ptr = (Uint8) ((Sint8) ((((float) (Sint8) (*ptr - 128))
             * args->right_rear_f) * args->distance_f) + 128);
@@ -214,7 +214,7 @@ static void SDLCALL _Eff_position_u8_c4(int chan, void *stream, int len, void *u
         ptr++;
     }
     else if (args->room_angle == 270)
-    for (i = 0; i < len; i += sizeof (Uint8) * 6) {
+    for (i = 0; i < len; i += sizeof (Uint8) * 4) {
         /* must adjust the sample so that 0 is the center */
         *ptr = (Uint8) ((Sint8) ((((float) (Sint8) (*ptr - 128))
             * args->left_rear_f) * args->distance_f) + 128);