[Ffmpeg-devel] Question about libavutil

Luca Abeni lucabe72
Mon Oct 24 17:00:26 CEST 2005


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.
I compiled it under linux (sorry, no Windows here :), and the resulting
programs work as before (I tested output_example, ffmpeg, and ffplay).
"make test" sometime fails on ffserver regression tests (this is not
deterministic), but that seems to happen also without my patch.

If/when the patch is applied, I'll look at moving av_log() and other
functions.

			Luca
-- 
_____________________________________________________________________________
Copy this in your signature, if you think it is important:
                               N O    W A R ! ! !
-------------- next part --------------
A non-text attachment was scrubbed...
Name: avalloc_move.diff
Type: text/x-patch
Size: 4754 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20051024/053252bd/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: alloc.c
Type: text/x-csrc
Size: 3124 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20051024/053252bd/attachment.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: alloc.h
Type: text/x-chdr
Size: 570 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20051024/053252bd/attachment.h>



More information about the ffmpeg-devel mailing list