From 828da91d66f155c31bc1753e9f6ae158d0e2671c Mon Sep 17 00:00:00 2001 From: "Timothy B. Terriberry" Date: Fri, 6 Aug 2010 17:05:53 -0700 Subject: [PATCH] Minor simplification to exp_rotation(). --- libcelt/vq.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/libcelt/vq.c b/libcelt/vq.c index 3db2a4a8..16b19ced 100644 --- a/libcelt/vq.c +++ b/libcelt/vq.c @@ -50,12 +50,10 @@ static celt_uint32 lcg_rand(celt_uint32 seed) return 1664525 * seed + 1013904223; } -static void exp_rotation1(celt_norm *X, int len, int dir, int stride, celt_word16 c, celt_word16 s) +static void exp_rotation1(celt_norm *X, int len, int stride, celt_word16 c, celt_word16 s) { int i; celt_norm *Xptr; - if (dir>0) - s = -s; Xptr = X; for (i=0;i=30)