diff --git a/src/raudio.c b/src/raudio.c index 3cd6b37aa..9ca5e9c7d 100644 --- a/src/raudio.c +++ b/src/raudio.c @@ -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