[Ffmpeg-devel] [PATCH 22/31] Move av_realloc() to the header file.

Panagiotis Issaris takis
Thu Mar 8 22:09:05 CET 2007


Michael Niedermayer schreef:
> On Mon, Mar 05, 2007 at 04:28:47PM +0100, Panagiotis Issaris wrote:
>> Michael Niedermayer schreef:
>>> On Sun, Mar 04, 2007 at 11:11:47PM +0100, takis.issaris at uhasselt.be wrote:
>>>> Move libavutil/mem.c public API comments to common.h. The moved comments are
>>>> unmodified.
>>> i think mem.c should get its own mem.h besides this ive no
>>> objections to moving the comments to the header, if you like you can
>>> move all of the mem.c comments to common.h and later move them to mem.h
>> Should common.h include mem.h or should all files that need the memory
>> allocation functions directly include mem.h (that would be 141 files)?
> due to API compatibility common.h needs to #inlude it
> [...]

The attached patch moves the memory related function out of common.h
into their own header file mem.h.

 common.h |   42 +---------------------------------------
 mem.h    |   65
 2 files changed, 67 insertions(+), 40 deletions(-)

With friendly regards,
vCard: http://www.issaris.org/pi.vcf
Public key: http://www.issaris.org/pi.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pi-20070308T220715-ffmpeg-move_mem.diff
Type: text/x-patch
Size: 3732 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070308/cbec9e64/attachment.bin>

More information about the ffmpeg-devel mailing list