From 9ce6c1387988bf3cdb631f3844e99a0c9bea43f2 Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Sat, 17 Jan 2009 11:13:33 +0000 Subject: export gcd function as av_gcd() Originally committed as revision 16653 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/libxvidff.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/libxvidff.c') 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; -- cgit v1.2.3