Merge "sad_test: fix vp8-only build"

This commit is contained in:
James Zern 2014-11-20 14:18:37 -08:00 committed by Gerrit Code Review
commit ec8c25ca2a

View File

@ -234,7 +234,7 @@ class SADTestBase : public ::testing::Test {
#else
const int tmp = second_pred[h * width_ + w] +
reference[h * reference_stride_ + w];
const uint8_t comp_pred = ROUND_POWER_OF_TWO(tmp, 1);
const uint8_t comp_pred = (tmp + 1) >> 1;
sad += abs(source[h * source_stride_ + w] - comp_pred);
#endif
}