summaryrefslogtreecommitdiff
path: root/test/encode_api_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/encode_api_test.cc')
-rw-r--r--test/encode_api_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/encode_api_test.cc b/test/encode_api_test.cc
index 08159148b..ecdf92834 100644
--- a/test/encode_api_test.cc
+++ b/test/encode_api_test.cc
@@ -233,8 +233,8 @@ TEST(EncodeAPI, SetRoi) {
roi.roi_map = roi_map;
// VP8 only. This value isn't range checked.
roi.static_threshold[1] = 1000;
- roi.static_threshold[2] = INT_MIN;
- roi.static_threshold[3] = INT_MAX;
+ roi.static_threshold[2] = UINT_MAX / 2 + 1;
+ roi.static_threshold[3] = UINT_MAX;
for (const auto delta : { -63, -1, 0, 1, 63 }) {
for (int i = 0; i < 8; ++i) {