Skip to content

Commit

Permalink
updated dr_mp3.h from mainstream
Browse files Browse the repository at this point in the history
  • Loading branch information
sezero committed Mar 8, 2025
1 parent de53730 commit ae6645e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dr_mp3.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ typedef drmp3_uint32 drmp3_bool32;
#endif
#endif

#if defined(DR_MP3_IMPLEMENTATION) || defined(DRMP3_IMPLEMENTATION)
#if defined(DR_MP3_IMPLEMENTATION)
#define DRMP3_API DRMP3_DLL_EXPORT
#else
#define DRMP3_API DRMP3_DLL_IMPORT
Expand Down Expand Up @@ -3353,7 +3353,7 @@ DRMP3_API drmp3_bool32 drmp3_init_memory_with_metadata(drmp3* pMP3, const void*
pMP3->memory.dataSize = dataSize;
pMP3->memory.currentReadPos = 0;

result = drmp3_init_internal(pMP3, drmp3__on_read_memory, drmp3__on_seek_memory, drmp3__on_tell_memory, NULL, pMP3, NULL, pAllocationCallbacks);
result = drmp3_init_internal(pMP3, drmp3__on_read_memory, drmp3__on_seek_memory, drmp3__on_tell_memory, onMeta, pMP3, NULL, pAllocationCallbacks);
if (result == DRMP3_FALSE) {
return DRMP3_FALSE;
}
Expand Down

0 comments on commit ae6645e

Please sign in to comment.