diff --git a/include/minimp3/OpenMPT.txt b/include/minimp3/OpenMPT.txt index d3aa4950c70..e2b1ad6dea7 100644 --- a/include/minimp3/OpenMPT.txt +++ b/include/minimp3/OpenMPT.txt @@ -1,6 +1,6 @@ minimp3 library from https://github.com/lieff/minimp3 -Fork https://github.com/manxorist/minimp3/releases/tag/openmpt-2024-08-15-v3 -commit 2811a29e4115199209fe91ae5217c9c5fc611fa6 (2024-08-15) +Fork https://github.com/manxorist/minimp3/releases/tag/openmpt-2024-08-15-v4 +commit 2116754771b79347ad2f39127abace2a093c383e (2024-08-15) The following changes have been made: * minimp3.c has been added * The following pull rquests have been merged: @@ -8,4 +8,5 @@ The following changes have been made: * https://github.com/lieff/minimp3/pull/96 * https://github.com/lieff/minimp3/pull/97 * https://github.com/lieff/minimp3/pull/125 + * https://github.com/lieff/minimp3/pull/127 * all modifications are marked by /* OpenMPT */ diff --git a/include/minimp3/minimp3.h b/include/minimp3/minimp3.h index f7f0441623d..620797b875e 100644 --- a/include/minimp3/minimp3.h +++ b/include/minimp3/minimp3.h @@ -8,6 +8,10 @@ */ #include +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + #define MINIMP3_MAX_SAMPLES_PER_FRAME (1152*2) typedef struct @@ -22,10 +26,6 @@ typedef struct unsigned char header[4], reserv_buf[511]; } mp3dec_t; -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ - void mp3dec_init(mp3dec_t *dec); #ifndef MINIMP3_FLOAT_OUTPUT typedef int16_t mp3d_sample_t;