Remap stb_vorbis malloc/free calls to RL_MALLOC/RL_FREE (#5763)

This commit is contained in:
nadav78
2026-04-16 00:51:47 +03:00
committed by GitHub
parent d8ebeb8939
commit 21897f4bb9

View File

@ -210,8 +210,11 @@ typedef struct tagBITMAPINFOHEADER {
#endif
#if SUPPORT_FILEFORMAT_OGG
// TODO: Remap stb_vorbis malloc()/free() calls to RL_MALLOC/RL_FREE
#define malloc RL_MALLOC
#define free RL_FREE
#include "external/stb_vorbis.c" // OGG loading functions
#undef malloc
#undef free
#endif
#if SUPPORT_FILEFORMAT_MP3