Various minor cleanups (removing dead arguments, macros) to libcelt/. Reinstate ...
[opus.git] / libcelt / laplace.c
index 24b68c9..5367313 100644 (file)
@@ -68,7 +68,7 @@ void ec_laplace_encode(ec_enc *enc, int *value, unsigned fs, int decay)
          fs = (fs*(opus_int32)decay)>>15;
       }
       /* Everything beyond that has probability LAPLACE_MINP. */
-      if (fs <= 0)
+      if (!fs)
       {
          int di;
          int ndi_max;