av_reduce

Reduce a fraction.

This is useful for framerate calculations.

@paramout dst_num Destination numerator @paramout dst_den Destination denominator @paramin num Source numerator @paramin den Source denominator @paramin max Maximum allowed values for dst_num & dst_den @return 1 if the operation is exact, 0 otherwise

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

Meta