Mercurial > libavcodec.hg
diff mpegvideo_enc.c @ 8611:a637db9f59b1 libavcodec
export gcd function as av_gcd()
author | aurel |
---|---|
date | Sat, 17 Jan 2009 11:13:33 +0000 |
parents | 68e959302527 |
children | 04423b2f6e0b |
line wrap: on
line diff
--- a/mpegvideo_enc.c Sat Jan 17 01:17:04 2009 +0000 +++ b/mpegvideo_enc.c Sat Jan 17 11:13:33 2009 +0000 @@ -464,7 +464,7 @@ 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;