[FFmpeg-devel] [RFC] remove lrintf fallback implementation

Diego Biurrun diego
Mon Oct 1 15:55:18 CEST 2007


In libavutil/internal.h we have a (bad) fallback implementation of
lrintf that was added waaaay back in October 2002 by Fabrice:

static av_always_inline long int lrintf(float x)
{
    return (int)(rint(x));
}

I'm not sure which systems still lack lrintf, but we refused to add a
fallback implementation of llrint for Cygwin.  So IMO the lrintf
fallback should go.

Diego




More information about the ffmpeg-devel mailing list