[FFmpeg-devel] [PATCH] Make avfilter_unref_buffer() accept a NULL parameter.
Stefano Sabatini
stefano.sabatini-lala
Sat Jan 15 14:34:02 CET 2011
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)?
--
FFmpeg = Foolish and Frightening Multimedia Peaceful Easy Gymnast
More information about the ffmpeg-devel
mailing list