Merge "sad_test: initialize bit_depth_ in all cases"

This commit is contained in:
James Zern 2014-11-24 12:26:15 -08:00 committed by Gerrit Code Review
commit 3726d45d5b

View File

@ -140,6 +140,8 @@ class SADTestBase : public ::testing::Test {
reference_data_ = CONVERT_TO_BYTEPTR(reference_data16_);
second_pred_ = CONVERT_TO_BYTEPTR(second_pred16_);
}
#else
bit_depth_ = VPX_BITS_8;
#endif
mask_ = (1 << bit_depth_) - 1;
source_stride_ = (width_ + 31) & ~31;