Function rsmpeg::ffi::av_gcd[][src]

pub unsafe extern "C" fn av_gcd(a: i64, b: i64) -> i64
Expand description

Compute the greatest common divisor of two integer operands.

@param a,b Operands @return GCD of a and b up to sign; if a >= 0 and b >= 0, return value is >= 0; if a == 0 and b == 0, returns 0.