Browse Source

Document av_gcd().

Originally committed as revision 20935 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Michael Niedermayer 16 years ago
parent
commit
03703cb3d1
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      libavutil/mathematics.h

+ 5
- 0
libavutil/mathematics.h View File

@@ -56,6 +56,11 @@ enum AVRounding {
AV_ROUND_NEAR_INF = 5, ///< Round to nearest and halfway cases away from zero.
};

/**
* Returns the greatest common divisor of a and b.
* If either a or b are 0 or either or both are <0 then behavior is
* undefined.
*/
int64_t av_const av_gcd(int64_t a, int64_t b);

/**


Loading…
Cancel
Save