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

gitlab.com/quite/celt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libcelt/arch.h')
-rw-r--r--libcelt/arch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcelt/arch.h b/libcelt/arch.h
index f389166..e4f2739 100644
--- a/libcelt/arch.h
+++ b/libcelt/arch.h
@@ -225,7 +225,7 @@ typedef float celt_mask;
#define DIV32(a,b) (((celt_word32)(a))/(celt_word32)(b))
#define PDIV32(a,b) (((celt_word32)(a))/(celt_word32)(b))
-#define SCALEIN(a) (MAX16(-2, MIN16(2,a))*CELT_SIG_SCALE)
+#define SCALEIN(a) ((a)*CELT_SIG_SCALE)
#define SCALEOUT(a) ((a)*(1/CELT_SIG_SCALE))
#endif /* !FIXED_POINT */