diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2009-01-17 11:13:33 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2009-01-17 11:13:33 +0000 |
commit | 9ce6c1387988bf3cdb631f3844e99a0c9bea43f2 (patch) | |
tree | bba423b9738e537a19c595ea0d78537dbe540991 /libavcodec/mpegvideo_enc.c | |
parent | 3194b004793b31b89445e7a15d06c9e4acbd2e55 (diff) | |
download | ffmpeg-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.c | 2 |
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; |