[FFmpeg-devel] [PATCH] Factor duplicated ff_fast_malloc() out into mem_internal.h

Michael Niedermayer michael at niedermayer.cc
Mon Jul 13 02:42:04 CEST 2015


On Sat, Jul 11, 2015 at 11:58:39PM +0200, Michael Niedermayer wrote:
> From: Michael Niedermayer <michael at niedermayer.cc>
> 
> internal.h is difficult to use due to circular dependancies
> mem.h is a public header ff_* is not public
> Alternative solutions probably are possible too
> 
> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> ---
>  libavcodec/utils.c       |   20 +-------------------
>  libavutil/mem.c          |   18 ++----------------
>  libavutil/mem_internal.h |   42 ++++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 45 insertions(+), 35 deletions(-)
>  create mode 100644 libavutil/mem_internal.h

applied

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

Asymptotically faster algorithms should always be preferred if you have
asymptotical amounts of data
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150713/08011e49/attachment.sig>


More information about the ffmpeg-devel mailing list