SDL_mixer: music_wavpack.c: added a comment about correction files loading. (698aa)

From 698aaa2e2fd18900f0e28132a8de9b48538d4857 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Fri, 28 Mar 2025 17:50:40 +0300
Subject: [PATCH] music_wavpack.c: added a comment about correction files
 loading.

(cherry picked from commit 7738cdc74fa0ca83a7a756716924676d401137c2)
---
 src/codecs/music_wavpack.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/codecs/music_wavpack.c b/src/codecs/music_wavpack.c
index 7490c2a31..8a8b6c38f 100644
--- a/src/codecs/music_wavpack.c
+++ b/src/codecs/music_wavpack.c
@@ -326,6 +326,10 @@ static void *WAVPACK_CreateFromFile(const char *file)
     file2 = SDL_stack_alloc(char, len + 2);
     if (!file2) src2 = NULL;
     else {
+        /* this assumes 'file' is a good boy and has 'wv' as an extension.
+         * official wavpack command line tools do the same thing so I'm not
+         * doing anything extra. besides, the wavpack library validates the
+         * correction file, therefore, no harm done.  */
         SDL_memcpy(file2, file, len);
         file2[len] =  'c';
         file2[len + 1] = '\0';