SDL_mixer: wav: Fixed seeking with the new loop point code.

From d7fe5c42eb2285b1bd4ad8df00e9606b56465119 Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Thu, 24 Jul 2025 11:14:37 -0400
Subject: [PATCH] wav: Fixed seeking with the new loop point code.

---
 src/decoder_wav.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/decoder_wav.c b/src/decoder_wav.c
index b101b518..467c9a72 100644
--- a/src/decoder_wav.c
+++ b/src/decoder_wav.c
@@ -1519,7 +1519,7 @@ static bool SDLCALL WAV_seek(void *track_userdata, Uint64 frame)
 
     // Deal with loop iterations, offset by the modulus of total frames in the loop; frame_start should have already
     //  dealt with iterations, so this shouldn't matter how many iterations there are or if it's an infinite loop.
-    frame += current_iteration_frames;
+    frame = current_iteration_frames;
 
     if (IsADPCM(adata->encoding)) {
         const Sint64 dest_offset = ((Sint64)(frame / adata->adpcm_info.samplesperblock)) * adata->adpcm_info.blocksize;  // the start of the correct ADPCM block within this seekblock.