humble-video-noarch/src/main/java/io/humble/video/Rational.java
public static int sReduce(Rational dst, long num, long den, long max) {
    return VideoJNI.Rational_sReduce(Rational.getCPtr(dst), dst, num, den, max);
  }
public static int sReduce(Rational dst, long num, long den, long max) {
    return VideoJNI.Rational_sReduce(Rational.getCPtr(dst), dst, num, den, max);
  }
Reduce a fraction to it's lowest common denominators.<br>
This is useful for framerate calculations.<br>
@param dst The destination rational  <br>
@param num       the src numerator.<br>
@param den       the src denominator.<br>
@param max the maximum allowed for nom &amp; den in the reduced fraction.<br>
@return 1 if exact, 0 otherwise