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
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