diff utils.c @ 8611:a637db9f59b1 libavcodec

export gcd function as av_gcd()
author aurel
date Sat, 17 Jan 2009 11:13:33 +0000
parents 555c2ab21d84
children 04423b2f6e0b
line wrap: on
line diff
--- a/utils.c	Sat Jan 17 01:17:04 2009 +0000
+++ b/utils.c	Sat Jan 17 11:13:33 2009 +0000
@@ -694,7 +694,7 @@
                          display_aspect_ratio.num, display_aspect_ratio.den);
             }
             if(av_log_get_level() >= AV_LOG_DEBUG){
-                int g= ff_gcd(enc->time_base.num, enc->time_base.den);
+                int g= av_gcd(enc->time_base.num, enc->time_base.den);
                 snprintf(buf + strlen(buf), buf_size - strlen(buf),
                      ", %d/%d",
                      enc->time_base.num/g, enc->time_base.den/g);