aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-09-28 22:23:53 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-09-28 22:23:53 +0000
commit499287e0a58939db4db0eac90a14968354ead8ed (patch)
treeae423f02c4945edf7186d326500917b92245d065
parentc58127934745000d8f2a30b1e2fa4d4872c6b37e (diff)
downloadffmpeg-499287e0a58939db4db0eac90a14968354ead8ed.tar.gz
Add documentation for the returned value of sws_init_context().
Originally committed as revision 32400 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
-rw-r--r--libswscale/swscale.h3
1 files changed, 3 insertions, 0 deletions
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);