[FFmpeg-devel] [PATCH] Implement avfilter_add_colorspaces()

Stefano Sabatini stefano.sabatini-lala
Sun Jan 3 23:26:50 CET 2010


On date Sunday 2010-01-03 01:58:46 +0100, Stefano Sabatini encoded:
> On date Sunday 2010-01-03 01:49:50 +0100, Michael Niedermayer encoded:
> > On Sun, Jan 03, 2010 at 01:32:46AM +0100, Stefano Sabatini wrote:
> > > Index: libavfilter-soc/ffmpeg/libavfilter/avfilter.h
> > > ===================================================================
> > > --- libavfilter-soc.orig/ffmpeg/libavfilter/avfilter.h	2010-01-01 16:07:31.000000000 +0100
> > > +++ libavfilter-soc/ffmpeg/libavfilter/avfilter.h	2010-01-03 01:29:04.000000000 +0100
> > > @@ -192,6 +192,14 @@
> > >  AVFilterFormats *avfilter_make_format_list(const enum PixelFormat *pix_fmts);
> > >  
> > >  /**
> > > + * Adds pix_fmt to the list of pixel formats contained in formats.
> > > + *
> > > + * @return a non negative value in case of success, or a negative
> > > + * value corresponding to an AVERROR code in case of error
> > > + */
> > > +int avfilter_add_colorspace(AVFilterFormats *formats, enum PixelFormat pix_fmt);
> > 
> > please use something like this:
> > 
> > /**
> >  * Adds pix_fmt to the list of formats contained in avff.
> >  *
> >  * @return a non negative value in case of success, or a negative
> >  * value corresponding to an AVERROR code in case of error
> >  */
> > int avfilter_add_colorspace(AVFilterFormats *avff, enum PixelFormat pix_fmt);
> 
> OK, I'll apply tomorrow if there are no other comments.

Done.
-- 
FFmpeg = Frenzy & Freak Magical Patchable Elected God



More information about the ffmpeg-devel mailing list