[Ffmpeg-devel] Question about libavutil

Alexander Strasser eclipse7
Tue Oct 25 02:23:48 CEST 2005


Hi,

Luca Abeni wrote:
> On Mon, 2005-10-24 at 15:19 +0200, Diego Biurrun wrote: 
> > On Mon, Oct 24, 2005 at 12:11:32PM +0200, Luca Abeni wrote:
> > > 
> > > Would a patch that moves the av_*alloc() functions in libavutil be
> > > accapted?
> > 
> > Probably.
> Ok, here is a patch (+ two new files to be put in ffmpeg/libavutil)
> moving the memory allocation functions to libavutil.
[...]
> Index: libavutil/Makefile
> ===================================================================
> RCS file: /cvsroot/ffmpeg/ffmpeg/libavutil/Makefile,v
> retrieving revision 1.3
> diff -u -p -r1.3 Makefile
> --- libavutil/Makefile	26 Sep 2005 10:05:13 -0000	1.3
> +++ libavutil/Makefile	24 Oct 2005 13:54:18 -0000
> @@ -12,6 +12,7 @@ OBJS= mathematics.o \
>        integer.o \
>        rational.o \
>        intfloat_readwrite.o \
> +      alloc.o \

  I think we have a problem if we don't move mem.c too,
which contains implementation of basic mem routines.
It also might be better to name the new file memutil.c
instead of alloc.c so the names are in line with each
other.
 
  I couldn't test it yet, i try to test sometime later
this week and also on win32.

  Didn't see more for the moment.
  Is anyone against moving the mem funcs to avutil?

  Alex (beastd)





More information about the ffmpeg-devel mailing list