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

Michael Niedermayer michaelni
Tue Sep 28 19:57:51 CEST 2010


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

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No human being will ever know the Truth, for even if they happen to say it
by chance, they would not even known they had done so. -- Xenophanes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100928/05b91332/attachment.pgp>



More information about the ffmpeg-devel mailing list