[Ffmpeg-devel] move av_malloc & friends to libavutil

Michael Niedermayer michaelni
Tue Jul 18 19:33:56 CEST 2006


Hi

On Tue, Jul 18, 2006 at 02:58:57PM +0200, Luca Abeni wrote:
> Hi Michael,
> 
> On Mon, 2006-07-17 at 16:30 +0200, Michael Niedermayer wrote:
> [...]
> > > #include "avcodec.h"
> > > to
> > > #include "common.h"
> > > #include "memutil.h"
> > 
> > hmm, i would prefer a more minimal patch, with only av_malloc() av_free()
> > av_realloc() moved to lavu, as lavu is supposed to be small and so IMO
> > we shouldnt move something to it unless its really needed
> Ok, so that's simpler: I can just svn move mem.c from libavcodec to
> libavutil (changing  #include "avcodec.h" into #include "common.h"), and
> copy the av_malloc(), av_free(), av_realloc() prototypes into
> libavutil/common.h.
> Is this ok?

yes

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is




More information about the ffmpeg-devel mailing list