Commit 31f640d1 authored by michael's avatar michael

lrintf patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2630 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 579dee3f
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment