Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2013-12-10 22:55:35 +0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2013-12-10 22:56:38 +0400
commit122971b8cc0ab46f0ab85927f109f89606800c3c (patch)
tree31da79aaef0cd38bf2751a80c4ad2bf75ce01f5b /celt/arch.h
parentfa85e3bf2823da90a031cbbb051022f346589da4 (diff)
More NaN hardening in the analysis code
Diffstat (limited to 'celt/arch.h')
-rw-r--r--celt/arch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/celt/arch.h b/celt/arch.h
index 6693408f..25cc0b77 100644
--- a/celt/arch.h
+++ b/celt/arch.h
@@ -140,7 +140,7 @@ typedef float celt_ener;
#ifdef FLOAT_APPROX
/* This code should reliably detect NaN/inf even when -ffast-math is used.
Assumes IEEE 754 format. */
-static inline int celt_isnan(float x)
+static OPUS_INLINE int celt_isnan(float x)
{
union {float f; opus_uint32 i;} in;
in.f = x;