diff h263.c @ 8611:a637db9f59b1 libavcodec

export gcd function as av_gcd()
author aurel
date Sat, 17 Jan 2009 11:13:33 +0000
parents 68e959302527
children b20c590170cc
line wrap: on
line diff
--- a/h263.c	Sat Jan 17 01:17:04 2009 +0000
+++ b/h263.c	Sat Jan 17 11:13:33 2009 +0000
@@ -5156,7 +5156,7 @@
                     av_log(s, AV_LOG_ERROR, "zero framerate\n");
                     return -1;
                 }
-                gcd= ff_gcd(s->avctx->time_base.den, s->avctx->time_base.num);
+                gcd= av_gcd(s->avctx->time_base.den, s->avctx->time_base.num);
                 s->avctx->time_base.den /= gcd;
                 s->avctx->time_base.num /= gcd;
 //                av_log(s->avctx, AV_LOG_DEBUG, "%d/%d\n", s->avctx->time_base.den, s->avctx->time_base.num);