av_reduce

Reduce a fraction. This is useful for framerate calculations. @param dst_num destination numerator @param dst_den destination denominator @param num source numerator @param den source denominator @param max the maximum allowed for dst_num & dst_den @return 1 if exact, 0 otherwise

@nogc nothrow extern (C)
int
av_reduce
(
int* dst_num
,
int* dst_den
,
int64_t num
,
int64_t den
,
int64_t max
)

Meta