SDL_mixer: wavpack: WavpackOpenFileInput is not used, so don't load it

From dadc6b223b4eb1539860ffa755c0216b2e447ae6 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Mon, 15 Jan 2024 15:12:49 +0100
Subject: [PATCH] wavpack: WavpackOpenFileInput is not used, so don't load it

---
 external/wavpack           | 2 +-
 src/codecs/music_wavpack.c | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/external/wavpack b/external/wavpack
index 413bcf49..6843ffa8 160000
--- a/external/wavpack
+++ b/external/wavpack
@@ -1 +1 @@
-Subproject commit 413bcf497a174657d4bd1f857c0ecd27dfb68317
+Subproject commit 6843ffa81e0543e5f59a6fb3fc185840731dc6fc
diff --git a/src/codecs/music_wavpack.c b/src/codecs/music_wavpack.c
index 663e2dbc..fec4cc87 100644
--- a/src/codecs/music_wavpack.c
+++ b/src/codecs/music_wavpack.c
@@ -66,7 +66,6 @@ typedef struct {
     uint32_t libversion;
     uint32_t (*WavpackGetLibraryVersion)(void);
     char *(*WavpackGetErrorMessage)(WavpackContext*);
-    WavpackContext *(*WavpackOpenFileInput)(const char *infilename, char *error, int flags, int norm_offset);
     WavpackContext *(*WavpackOpenFileInputEx)(WavpackStreamReader *reader, void *wv_id, void *wvc_id, char *error, int flags, int norm_offset);
     WavpackContext *(*WavpackCloseFile)(WavpackContext*);
     int (*WavpackGetMode)(WavpackContext*);
@@ -112,7 +111,6 @@ static int WAVPACK_Load(void)
 #endif
         FUNCTION_LOADER(WavpackGetLibraryVersion, uint32_t (*)(void));
         FUNCTION_LOADER(WavpackGetErrorMessage, char *(*)(WavpackContext*));
-        FUNCTION_LOADER(WavpackOpenFileInput, WavpackContext *(*)(const char*, char*, int, int));
         FUNCTION_LOADER(WavpackOpenFileInputEx, WavpackContext *(*)(WavpackStreamReader*, void*, void*, char*, int, int));
         FUNCTION_LOADER(WavpackCloseFile, WavpackContext *(*)(WavpackContext*));
         FUNCTION_LOADER(WavpackGetMode, int (*)(WavpackContext*));