Mercurial > libavutil.hg
diff mathematics.h @ 607:819752f80c64 libavutil
export gcd function as av_gcd()
author | aurel |
---|---|
date | Sat, 17 Jan 2009 11:13:33 +0000 |
parents | bd4052d9050c |
children | 8c48a1b999a3 |
line wrap: on
line diff
--- a/mathematics.h Fri Jan 16 02:14:07 2009 +0000 +++ b/mathematics.h Sat Jan 17 11:13:33 2009 +0000 @@ -49,6 +49,8 @@ AV_ROUND_NEAR_INF = 5, ///< round to nearest and halfway cases away from zero }; +int64_t av_const av_gcd(int64_t a, int64_t b); + /** * rescale a 64bit integer with rounding to nearest. * a simple a*b/c isn't possible as it can overflow