[FFmpeg-devel] [PATCH 1/4] Implement avfilter_ref_video_buffer().

Stefano Sabatini stefano.sabatini-lala
Thu Nov 25 19:36:37 CET 2010


On date Thursday 2010-11-25 17:15:42 +0100, Michael Niedermayer encoded:
> On Wed, Nov 24, 2010 at 07:20:28PM +0100, Stefano Sabatini wrote:
> > On date Wednesday 2010-11-24 17:03:41 +0100, Michael Niedermayer encoded:
> > > On Tue, Nov 23, 2010 at 11:23:58PM +0100, Stefano Sabatini wrote:
> > > > On date Tuesday 2010-11-23 23:11:46 +0100, Michael Niedermayer encoded:
> > > > > On Tue, Nov 23, 2010 at 12:56:33AM +0100, Stefano Sabatini wrote:
> [...]
> > > > > > This change also requires to make public the
>                            ^^^^^^^^^^^^^^^^^^^^^^^
> 
> > > > > > avfilter_default_free_buffer() function, as in the attached patch.
> > > > > 
> > > > > why?
>         ^^^^
> 
> > > >
> > > > I prefer to place the callback for freeing the buffer in the library
> > > > code,
> > > 
> > > my question was "why make it public" not "why in the lib" sorry if that was
> > > unclear
> > 
> > That's completely indifferent to me, and since it is currently
> > non-used in application code maybe it's even better to declare them
>   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> IMHO if its not needed for anything then we should not make it public.
> The function pointer comparission bugs we had with the matching function
> for AVPacket cant happen if the function is not public ...

Updated.
-- 
FFmpeg = Fucking and Fundamentalist Mean Portentous Efficient Gem



More information about the ffmpeg-devel mailing list