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

From 7738cdc74fa0ca83a7a756716924676d401137c2 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.

---
 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 6f7ce3014..32548e224 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';