summaryrefslogtreecommitdiff
path: root/libavcodec/libxvidff.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2009-01-17 11:13:33 +0000
committerAurelien Jacobs <aurel@gnuage.org>2009-01-17 11:13:33 +0000
commit9ce6c1387988bf3cdb631f3844e99a0c9bea43f2 (patch)
treebba423b9738e537a19c595ea0d78537dbe540991 /libavcodec/libxvidff.c
parent3194b004793b31b89445e7a15d06c9e4acbd2e55 (diff)
export gcd function as av_gcd()
Originally committed as revision 16653 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/libxvidff.c')
-rw-r--r--libavcodec/libxvidff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/libxvidff.c b/libavcodec/libxvidff.c
index ac1553f2a8..35104c37cd 100644
--- a/libavcodec/libxvidff.c
+++ b/libavcodec/libxvidff.c
@@ -557,7 +557,7 @@ void xvid_correct_framerate(AVCodecContext *avctx) {
frate = avctx->time_base.den;
fbase = avctx->time_base.num;
- gcd = ff_gcd(frate, fbase);
+ gcd = av_gcd(frate, fbase);
if( gcd > 1 ) {
frate /= gcd;
fbase /= gcd;
@@ -579,7 +579,7 @@ void xvid_correct_framerate(AVCodecContext *avctx) {
} else
est_fbase = 1;
- gcd = ff_gcd(est_frate, est_fbase);
+ gcd = av_gcd(est_frate, est_fbase);
if( gcd > 1 ) {
est_frate /= gcd;
est_fbase /= gcd;