Revision ea937d01

View differences:

libavcodec/dsputil.h
331 331
/* btw, rintf() is existing on fbsd too -- alex */
332 332
static inline long int lrintf(float x)
333 333
{
334
#ifdef CONFIG_WIN32
335
    /* XXX: incorrect, but make it compile */
336
    return (int)(x);
337
#else
334 338
    return (int)(rint(x));
339
#endif
335 340
}
336 341
#endif
337 342

  

Also available in: Unified diff