diff options
Diffstat (limited to 'test/sad_test.cc')
-rw-r--r-- | test/sad_test.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/sad_test.cc b/test/sad_test.cc index e1f164a4e..837b08fbd 100644 --- a/test/sad_test.cc +++ b/test/sad_test.cc @@ -114,9 +114,10 @@ class SADTestBase : public ::testing::TestWithParam<ParamType> { uint8_t *GetReference(int block_idx) const { #if CONFIG_VP9_HIGHBITDEPTH - if (use_high_bit_depth_) + if (use_high_bit_depth_) { return CONVERT_TO_BYTEPTR(CONVERT_TO_SHORTPTR(reference_data_) + block_idx * kDataBlockSize); + } #endif // CONFIG_VP9_HIGHBITDEPTH return reference_data_ + block_idx * kDataBlockSize; } |