[FFmpeg-devel] [PATCH] Remove avfilter_uninit()

Stefano Sabatini stefano.sabatini-lala
Wed Oct 28 23:53:48 CET 2009


On date Tuesday 2009-10-27 23:05:13 +0100, Stefano Sabatini encoded:
> On date Tuesday 2009-10-27 22:58:24 +0100, Michael Niedermayer encoded:
> > On Tue, Oct 27, 2009 at 10:44:26PM +0100, Stefano Sabatini wrote:
> > > Hi all,
> > > 
> > > I cannot see how avfilter_uninit() should be used.
> > > 
> > > In theory an application may want to deregister all the filters, then
> > > register another set, but I cannot see what would be the point of
> > > this.
> > > 
> > > So I suggest to remove it.
> > 
> > I suggest that you ask the one who added the function what it was intended
> > for first.
> 
> I could ask, but I guess that was meant to avoid a memleak, since
> previously the registration was allocating AVFilterList structs.

Since you're planning to implement a structure for keeping the
registered symbols and make AVThings shareable, this function may be
useful, so patch dropped.

Regards.
-- 
FFmpeg = Faboulous and Furious Minimalistic Peaceless Energized Gospel



More information about the ffmpeg-devel mailing list