[FFmpeg-devel] [PATCH] Make avfilter_unref_buffer() accept a NULL parameter.

Stefano Sabatini stefano.sabatini-lala
Sat Jan 15 18:19:30 CET 2011


On date Saturday 2011-01-15 14:40:14 +0100, Michael Niedermayer encoded:
> On Sat, Jan 15, 2011 at 02:34:02PM +0100, Stefano Sabatini wrote:
> > On date Saturday 2011-01-15 14:14:50 +0100, Michael Niedermayer encoded:
> > > On Sat, Jan 15, 2011 at 12:53:20PM +0100, Stefano Sabatini wrote:
> > > > On date Saturday 2011-01-15 12:48:33 +0100, Stefano Sabatini encoded:
> > > [...]
> > > > @@ -71,6 +71,8 @@ AVFilterBufferRef *avfilter_ref_buffer(AVFilterBufferRef *ref, int pmask)
> > > >  
> > > >  void avfilter_unref_buffer(AVFilterBufferRef *ref)
> > > >  {
> > > > +    if (!buf)
> > > > +        return;
> > > 
> > > does that compile?
> > 
> > No of course, anyway is fine to apply (the correct version)?
> 
> of course ok

Applied.
-- 
FFmpeg = Fiendish & Faithful Mortal Perennial Enlightened Guru



More information about the ffmpeg-devel mailing list