summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven M. Schultz <sms@2bsd.com>2003-12-22 19:42:28 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-12-22 19:42:28 +0000
commit1c004e5622378cd62f574083f5d7651c0e455036 (patch)
tree0fe5b9cb8a4c7292ec14f5da798bedc6178231ef
parent71c47d6e241cc7e63fcbb6d777a5e0472e4370a2 (diff)
lrintf patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)
Originally committed as revision 2630 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/mpegvideo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index e5b54876d7..e04b14d10d 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -1874,7 +1874,7 @@ int MPV_encode_picture(AVCodecContext *avctx,
assert(s->repeat_first_field==0 && s->avctx->repeat_pic==0);
- vbv_delay= lrint(90000 * s->rc_context.buffer_index / s->avctx->rc_max_rate);
+ vbv_delay= lrintf(90000 * s->rc_context.buffer_index / s->avctx->rc_max_rate);
assert(vbv_delay < 0xFFFF);
s->vbv_delay_ptr[0] &= 0xF8;