diff options
Diffstat (limited to 'test/dct32x32_test.cc')
-rw-r--r-- | test/dct32x32_test.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/dct32x32_test.cc b/test/dct32x32_test.cc index 72c0bd69d..501c69621 100644 --- a/test/dct32x32_test.cc +++ b/test/dct32x32_test.cc @@ -179,12 +179,13 @@ TEST_P(Trans32x32Test, MemCheck) { input_block[j] = rnd.Rand8() - rnd.Rand8(); input_extreme_block[j] = rnd.Rand8() & 1 ? 255 : -255; } - if (i == 0) + if (i == 0) { for (int j = 0; j < kNumCoeffs; ++j) input_extreme_block[j] = 255; - if (i == 1) + } else if (i == 1) { for (int j = 0; j < kNumCoeffs; ++j) input_extreme_block[j] = -255; + } const int stride = 32; vp9_fdct32x32_c(input_extreme_block, output_ref_block, stride); |