[FFmpeg-devel] [PATCH 1/2] Add documentation for the returned value of sws_init_context().
Stefano Sabatini
stefano.sabatini-lala
Tue Sep 28 18:38:31 CEST 2010
---
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
*/
int sws_init_context(struct SwsContext *sws_context, SwsFilter *srcFilter, SwsFilter *dstFilter);
--
1.7.1
More information about the ffmpeg-devel
mailing list