Adjustable Memory Allocation Functions
thiekus opened this issue · comments
Hi, mini MP4 was works as expected for me, and I adopt this instead old and harder to intergerate libmp4v2 to generate h264 encoded stream in MP4 container. But could I have adjustable malloc functions to custom functions? My reasons is beacuse I'm prefer to use another memory allocator (e.g mimalloc) than the CRT default one, but I think it will somewhat useful for task including custom memory tracing functions, etc. I mean, like the miniaudio has adjustable macros for MA_MALLOC
, MA_REALLOC
and MA_FREE
. Thanks!
Hi) That's a good idea. Will do it at some point.