提交 9d85cbd9 编写于 作者: F Fabrice Bellard

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

Originally committed as revision 1106 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 ab253fe3
......@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册