Skip to content

Commit

Permalink
wavpack: WavpackOpenFileInput is not used, so don't load it
Browse files Browse the repository at this point in the history
  • Loading branch information
madebr committed Jan 15, 2024
1 parent ff79c46 commit 40b5164
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion external/wavpack
2 changes: 0 additions & 2 deletions src/codecs/music_wavpack.c
Original file line number Diff line number Diff line change
Expand Up @@ -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*);
Expand Down Expand Up @@ -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*));
Expand Down

0 comments on commit 40b5164

Please sign in to comment.