[Ffmpeg-devel] move av_malloc & friends to libavutil

Luca Abeni lucabe72
Tue Jul 18 14:58:57 CEST 2006


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?


			Thanks,
				Luca
-- 
_____________________________________________________________________________
Copy this in your signature, if you think it is important:
                               N O    W A R ! ! !





More information about the ffmpeg-devel mailing list