diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2007-07-11 13:44:50 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2007-07-11 13:44:50 +0000 |
commit | 36564c514c79a17233e6285cd5ace43c3730b0d1 (patch) | |
tree | a71a5d72323e2251bfed55eb9e747e8bb785fa0f | |
parent | 979c0910567e6019d109c6449862bf5863336262 (diff) | |
download | ffmpeg-36564c514c79a17233e6285cd5ace43c3730b0d1.tar.gz |
Remove MinGW lrint hack.
It has been in mingw-runtime at least since version 2.4
Originally committed as revision 9594 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavutil/internal.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/libavutil/internal.h b/libavutil/internal.h index ac0fcf7332..842c260028 100644 --- a/libavutil/internal.h +++ b/libavutil/internal.h @@ -270,21 +270,7 @@ if((y)<(x)){\ /* btw, rintf() is existing on fbsd too -- alex */ static av_always_inline long int lrintf(float x) { -#ifdef __MINGW32__ -# ifdef ARCH_X86_32 - int32_t i; - asm volatile( - "fistpl %0\n\t" - : "=m" (i) : "t" (x) : "st" - ); - return i; -# else - /* XXX: incorrect, but make it compile */ - return (int)(x + (x < 0 ? -0.5 : 0.5)); -# endif /* ARCH_X86_32 */ -#else return (int)(rint(x)); -#endif /* __MINGW32__ */ } #endif /* HAVE_LRINTF */ |