Function rsmpeg::ffi::av_gcd_q [−][src]
pub unsafe extern "C" fn av_gcd_q(
a: AVRational,
b: AVRational,
max_den: i32,
def: AVRational
) -> AVRational
Expand description
Return the best rational so that a and b are multiple of it. If the resulting denominator is larger than max_den, return def.