Browse code

Document av_gcd().

Originally committed as revision 20935 to svn://svn.ffmpeg.org/ffmpeg/trunk

Michael Niedermayer authored on 2009/12/27 21:20:06
Showing 1 changed files
... ...
@@ -56,6 +56,11 @@ enum AVRounding {
56 56
     AV_ROUND_NEAR_INF = 5, ///< Round to nearest and halfway cases away from zero.
57 57
 };
58 58
 
59
+/**
60
+ * Returns the greatest common divisor of a and b.
61
+ * If either a or b are 0 or either or both are <0 then behavior is
62
+ * undefined.
63
+ */
59 64
 int64_t av_const av_gcd(int64_t a, int64_t b);
60 65
 
61 66
 /**