[FFmpeg-devel] [PATCH] Deprecate av_fifo_realloc() in favour of a safer av_fifo_realloc2()
Tue Aug 19 22:44:09 CEST 2008
On Tue, Aug 19, 2008 at 08:56:30PM +0200, Stefano Sabatini wrote:
> On date Thursday 2008-08-14 02:15:32 +0200, Michael Niedermayer encoded:
> > On Mon, Aug 11, 2008 at 05:14:50PM +0200, Stefano Sabatini wrote:
> > > On date Monday 2008-08-11 14:14:28 +0100, M?ns Rullg?rd encoded:
> > > >
> > > > Stefano Sabatini wrote:
> > > > > If there are no objections then I'll apply it on Wednesday (then I'll
> > > > > provide further patches to fix the deprecation warnings).
> > > >
> > > > IMO, deprecation attributes should only be added when the old functions
> > > > are no longer used internally.
> > >
> > > Fine with me, so the plan is:
> > > 1) define the new function
> > > 2) make the codebase use the new functions
> > > 3) deprecate the old av_fifo_realloc() and put it under #if VERSION < ...
> > >
> > > Patches for points 1 and 2 attached.
> > ok
> Both applied, in attachment a cosmetic one and another one which
> deprecates av_fifo_realloc().
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel