mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
lrintf patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)
Originally committed as revision 2630 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
71c47d6e24
commit
1c004e5622
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user