| Index: unit_test/color_test.cc
|
| diff --git a/unit_test/color_test.cc b/unit_test/color_test.cc
|
| index 7716f958ea11fe8936d63947f8b2f5e50931405a..d3fda0d4dcd7faa0b82b74c70997fad0f59f9dff 100644
|
| --- a/unit_test/color_test.cc
|
| +++ b/unit_test/color_test.cc
|
| @@ -66,7 +66,7 @@ TEST_F(libyuvTest, TESTNAME) { \
|
| uint8* p = orig_y; \
|
| for (int y = 0; y < benchmark_height_ - HS1; y += HS) { \
|
| for (int x = 0; x < benchmark_width_ - 1; x += 2) { \
|
| - uint8 r = static_cast<uint8>(random()); \
|
| + uint8 r = static_cast<uint8>(fastrand()); \
|
| p[0] = r; \
|
| p[1] = r; \
|
| p[HN] = r; \
|
| @@ -74,7 +74,7 @@ TEST_F(libyuvTest, TESTNAME) { \
|
| p += 2; \
|
| } \
|
| if (benchmark_width_ & 1) { \
|
| - uint8 r = static_cast<uint8>(random()); \
|
| + uint8 r = static_cast<uint8>(fastrand()); \
|
| p[0] = r; \
|
| p[HN] = r; \
|
| p += 1; \
|
|
|