Function rsmpeg::avutil::av_cmp_q[][src]

pub fn av_cmp_q(a: AVRational, b: AVRational) -> i32
Expand description

Compare two rationals.

@param a First rational @param b Second rational

@return One of the following values: - 0 if a == b - 1 if a > b - -1 if a < b - INT_MIN if one of the values is of the form 0 / 0