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

Stefano Sabatini stefano.sabatini-lala
Mon Aug 11 17:14:50 CEST 2008


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.

Regards.
-- 
FFmpeg = Foolish and Fast Mega Programmable Egregious Gangster
-------------- next part --------------
A non-text attachment was scrubbed...
Name: implement-av-fifo-realloc2-01.patch
Type: text/x-diff
Size: 1624 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080811/82d42c69/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: use-av-fifo-realloc2-00.patch
Type: text/x-diff
Size: 1305 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080811/82d42c69/attachment-0001.patch>



More information about the ffmpeg-devel mailing list