[FFmpeg-devel] [PATCH 1/2] Add documentation for the returned value of sws_init_context().

Stefano Sabatini stefano.sabatini-lala
Wed Sep 29 00:24:04 CEST 2010


On date Tuesday 2010-09-28 19:57:51 +0200, Michael Niedermayer encoded:
> On Tue, Sep 28, 2010 at 06:38:31PM +0200, Stefano Sabatini wrote:
> > ---
> >  swscale.h |    2 ++
> >  1 files changed, 2 insertions(+), 0 deletions(-)
> > 
> > diff --git a/swscale.h b/swscale.h
> > index d189534..ddf3734 100644
> > --- a/swscale.h
> > +++ b/swscale.h
> > @@ -152,6 +152,8 @@ struct SwsContext *sws_alloc_context(void);
> >  
> >  /**
> >   * Initializes the swscaler context sws_context.
> > + *
> > + * @return zero on success, a negative value on error
> 
> zero or positive value on success
> with that ok

Applied.
-- 
FFmpeg = Free and Fanciful Miracolous Perennial Extravagant Gem



More information about the ffmpeg-devel mailing list