Function rsmpeg::avutil::av_gcd_q [−][src]
pub fn av_gcd_q(
a: AVRational,
b: AVRational,
max_den: c_int,
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.