aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegvideo_enc.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/mpegvideo_enc.c
parent3194b004793b31b89445e7a15d06c9e4acbd2e55 (diff)
downloadffmpeg-9ce6c1387988bf3cdb631f3844e99a0c9bea43f2.tar.gz
export gcd function as av_gcd()
Originally committed as revision 16653 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo_enc.c')
-rw-r--r--libavcodec/mpegvideo_enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c
index dc8dd74778..e381598c22 100644
--- a/libavcodec/mpegvideo_enc.c
+++ b/libavcodec/mpegvideo_enc.c
@@ -464,7 +464,7 @@ av_cold int MPV_encode_init(AVCodecContext *avctx)
avctx->b_frame_strategy = 0;
}
- i= ff_gcd(avctx->time_base.den, avctx->time_base.num);
+ i= av_gcd(avctx->time_base.den, avctx->time_base.num);
if(i > 1){
av_log(avctx, AV_LOG_INFO, "removing common factors from framerate\n");
avctx->time_base.den /= i;