resample: Improve GCD calculation
Use Euclids algorithm to calculate the greatest common divisor to
simplify the resample ratio fraction instead of the slow iterative
method.
Signed-off-by:
Tristan Matthews <tmatth@videolan.org>
Showing
Please register or sign in to comment