Revision 1c004e56

View differences:

libavcodec/mpegvideo.c
1874 1874

  
1875 1875
        assert(s->repeat_first_field==0 && s->avctx->repeat_pic==0);
1876 1876
        
1877
        vbv_delay= lrint(90000 * s->rc_context.buffer_index / s->avctx->rc_max_rate);
1877
        vbv_delay= lrintf(90000 * s->rc_context.buffer_index / s->avctx->rc_max_rate);
1878 1878
        assert(vbv_delay < 0xFFFF);
1879 1879

  
1880 1880
        s->vbv_delay_ptr[0] &= 0xF8;

Also available in: Unified diff