Commit 2bb9c76c authored by bellard's avatar bellard

added lrintf for non ISOC libcs (fixme: find a better test)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1106 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 020619f9
......@@ -269,4 +269,13 @@ void ff_mdct_calc(MDCTContext *s, FFTSample *out,
const FFTSample *input, FFTSample *tmp);
void ff_mdct_end(MDCTContext *s);
#if defined(__FreeBSD__) || (__bsdi__)
/* XXX: add ISOC specific test to avoid specific BSD testing. */
/* better than nothing implementation. */
static inline long int lrintf(float x)
{
return (int)(rint(x));
}
#endif
#endif
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