[FFmpeg-devel] [PATCH] Add --malloc-prefix to apply a prefix to malloc, free etc

Måns Rullgård mans
Thu Jan 28 14:07:45 CET 2010


Reimar D?ffinger <Reimar.Doeffinger at gmx.de> writes:

> On Thu, Jan 28, 2010 at 01:55:07AM +0000, M?ns Rullg?rd wrote:
>> Mans Rullgard <mans at mansr.com> writes:
>> 
>> > This makes it easy to use a replacement allocator instead of the
>> > system default one.
>> > ---
>> >  configure       |    9 +++++++--
>> >  libavutil/mem.c |   17 +++++++++++++++++
>> >  2 files changed, 24 insertions(+), 2 deletions(-)
>> 
>> Does anyone find this idea altogether abominable?  I need something
>> like this, so please let me know if I should try to find another
>> solution.
>
> Well, at least the term "scary to insanity causing" I think applies
> somewhat.

I didn't think it was that bad...

> Not that I object though, and I doubt you can find a nicer solution.

I've committed it.  Let's see if anyone screams.

This brings us one step closer to working on Blackfin.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list