[FFmpeg-devel] [PATCH 06/13] lavu/mem: Add ff_fast_recalloc()

Tomas Härdin tjoppen at acc.umu.se
Wed Jun 15 12:59:57 EEST 2022


tis 2022-06-14 klockan 22:26 +0200 skrev Michael Niedermayer:
> On Tue, Jun 14, 2022 at 04:42:06PM +0200, Tomas Härdin wrote:
> > Left this as an ff_ funtion for now since it's only used by the j2k
> > code
> > 
> > /Tomas
> 
> >  mem.c |   24 ++++++++++++++++++++++++
> >  mem.h |   55
> > +++++++++++++++++++++++++++++++++++++++++++++++++++++++
> >  2 files changed, 79 insertions(+)
> > 21be65bd06e3260f9f36598d5d574ee32e7131a6  0006-lavu-mem-Add-
> > ff_fast_recalloc.patch
> > From 5d36d431ffe4c8ba0f698d0c288ebc16b83f0bbc Mon Sep 17 00:00:00
> > 2001
> > From: =?UTF-8?q?Tomas=20H=C3=A4rdin?= <git at haerdin.se>
> > Date: Tue, 14 Jun 2022 13:35:18 +0200
> > Subject: [PATCH 06/13] lavu/mem: Add ff_fast_recalloc()
> 
> You cannot call a ff_* function thats in libavutil from outside
> libavutil
> this will fail with shared libs as the ff* stuff is not exported

Ah, I suspected as much. Would there be much opposition to a public
function like this in lavu? I could just keep it local to the j2k code

/Tomas



More information about the ffmpeg-devel mailing list