[FFmpeg-devel] [PATCH] Deprecate av_fifo_realloc() in favour of a safer av_fifo_realloc2()

Stefano Sabatini stefano.sabatini-lala
Tue Aug 19 20:56:30 CEST 2008


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().

Regards.
-- 
FFmpeg = Frightening & Forgiving Martial Picky Elaborated Geisha
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remove-useless-fifo-c-commment.patch
Type: text/x-diff
Size: 380 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080819/1adf2587/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: deprecate-av-fifo-realloc.patch
Type: text/x-diff
Size: 1197 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080819/1adf2587/attachment-0001.patch>



More information about the ffmpeg-devel mailing list