changeset 32314:ba0ba590dc81

Add documentation for the returned value of sws_init_context().
author stefano
date Tue, 28 Sep 2010 22:23:53 +0000
parents ad6178f15dd1
children 549b1ad3f777
files libswscale/swscale.h
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libswscale/swscale.h	Tue Sep 28 20:46:19 2010 +0000
+++ b/libswscale/swscale.h	Tue Sep 28 22:23:53 2010 +0000
@@ -152,6 +152,9 @@
 
 /**
  * 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);