Commit 0e58be02 authored by Yaowu Xu's avatar Yaowu Xu

Use INT16_MIN and INT16_MAX for portability

Fixes build errors with MSVC 2015

BUG=aomedia:500

Change-Id: I8a18a114b14014ea8510e9b2f9dbe542cbac2dd5
parent 4d668d7f
......@@ -231,8 +231,8 @@ TEST_P(PartialIDctTest, AddOutputBlock) {
}
TEST_P(PartialIDctTest, SingleExtremeCoeff) {
const int16_t max_coeff = std::numeric_limits<int16_t>::max();
const int16_t min_coeff = std::numeric_limits<int16_t>::min();
const int16_t max_coeff = INT16_MAX;
const int16_t min_coeff = INT16_MIN;
for (int i = 0; i < last_nonzero_; ++i) {
memset(input_block_, 0, sizeof(*input_block_) * input_block_size_);
// Run once for min and once for max.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment