summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/dct_partial_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dct_partial_test.cc b/test/dct_partial_test.cc
index 41f68955b..52c925cb7 100644
--- a/test/dct_partial_test.cc
+++ b/test/dct_partial_test.cc
@@ -46,7 +46,7 @@ tran_low_t partial_fdct_ref(const Buffer<int16_t> &in, int size) {
}
switch (size) {
- case 4: sum <<= 1; break;
+ case 4: sum *= 2; break;
case 8: /*sum = sum;*/ break;
case 16: sum >>= 1; break;
case 32: sum >>= 3; break;