diff --git a/libcelt/celt.c b/libcelt/celt.c index 7a8eb7a3..cdf2c062 100644 --- a/libcelt/celt.c +++ b/libcelt/celt.c @@ -53,7 +53,7 @@ #include #define LPC_ORDER 24 -/* #define NEW_PLC */ +#define NEW_PLC #if !defined(FIXED_POINT) || defined(NEW_PLC) #include "plc.c" #endif @@ -1584,16 +1584,21 @@ static void celt_decode_lost(CELTDecoder * restrict st, celt_word16 * restrict p celt_word32 S2=0; for (i=0;i SHR32(S2,2))) +#else + /* Float test is written this way to catch NaNs at the same time */ if (!(S1 > 0.2f*S2)) +#endif { for (i=0;i