From 499287e0a58939db4db0eac90a14968354ead8ed Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Tue, 28 Sep 2010 22:23:53 +0000 Subject: Add documentation for the returned value of sws_init_context(). Originally committed as revision 32400 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale --- libswscale/swscale.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libswscale/swscale.h') diff --git a/libswscale/swscale.h b/libswscale/swscale.h index d18953486a..87a1c4461b 100644 --- a/libswscale/swscale.h +++ b/libswscale/swscale.h @@ -152,6 +152,9 @@ struct SwsContext *sws_alloc_context(void); /** * Initializes the swscaler context sws_context. + * + * @return zero or positive value on success, a negative value on + * error */ int sws_init_context(struct SwsContext *sws_context, SwsFilter *srcFilter, SwsFilter *dstFilter); -- cgit v1.2.3