[SCM] libav/experimental: Add documentation for the returned value of sws_init_context().

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:16:30 UTC 2013


The following commit has been merged in the experimental branch:
commit 499287e0a58939db4db0eac90a14968354ead8ed
Author: Stefano Sabatini <stefano.sabatini-lala at poste.it>
Date:   Tue Sep 28 22:23:53 2010 +0000

    Add documentation for the returned value of sws_init_context().
    
    Originally committed as revision 32400 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

diff --git a/libswscale/swscale.h b/libswscale/swscale.h
index d189534..87a1c44 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);
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list