Displaying 2 results from an estimated 2 matches for "opus_tags_clear".
2013 Aug 25
3
libopusfile's memory management.
...culous but I'm having difficulty getting
the right versions that my compiler allows that's compatible with
libopusfile. In the debugger I can see that the memory location that my
malloc is returning is different from what libopusfile is returning in tags
handlers. So of course when I call opus_tags_clear or any other tags
modification routine on an OpusTags struct with contents created by my call
to malloc it throws an exception.
At the moment I've worked around it by loading and using MSVCRT.dll's
malloc, calloc, realloc, and free but I have a feeling it's the wrong way
to go about th...
2013 Aug 25
0
libopusfile's memory management.
alpha thinktink wrote:
> On Sat, Aug 24, 2013 at 7:56 PM, Timothy B. Terriberry
> <tterribe at xiph.org <mailto:tterribe at xiph.org>> wrote:
>
> alpha thinktink wrote:
> > is returning in tags handlers. So of course when I call
> opus_tags_clear
> > or any other tags modification routine on an OpusTags struct with
> > contents created by my call to malloc it throws an exception.
>
> Yes, this doesn't work in Windows (it works everywhere else). You can't
> use malloc/free across module boundari...