diff options
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2013-12-10 22:55:35 +0400 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2013-12-10 22:56:38 +0400 |
commit | 122971b8cc0ab46f0ab85927f109f89606800c3c (patch) | |
tree | 31da79aaef0cd38bf2751a80c4ad2bf75ce01f5b /celt/arch.h | |
parent | fa85e3bf2823da90a031cbbb051022f346589da4 (diff) |
More NaN hardening in the analysis code
Diffstat (limited to 'celt/arch.h')
-rw-r--r-- | celt/arch.h | 2 |
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; |