# HG changeset patch # User stefano # Date 1285712633 0 # Node ID ba0ba590dc81737e244cca7b55ff1044c1189cc7 # Parent ad6178f15dd17c5345717eb72bc2cf4efd824289 Add documentation for the returned value of sws_init_context(). diff -r ad6178f15dd1 -r ba0ba590dc81 libswscale/swscale.h --- 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);