Commit 131aef14 authored by fbarchard@google.com's avatar fbarchard@google.com

math header needed on osx version.

BUG=391
TESTED=try bots
R=tpsiaki@google.com

Review URL: https://webrtc-codereview.appspot.com/39529004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@1230 16f28f9a-4ce2-e073-06de-1de4eb20be90
parent db81017f
Name: libyuv
URL: http://code.google.com/p/libyuv/
Version: 1228
Version: 1229
License: BSD
License File: LICENSE
......
......@@ -11,6 +11,6 @@
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
#define INCLUDE_LIBYUV_VERSION_H_
#define LIBYUV_VERSION 1228
#define LIBYUV_VERSION 1229
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
......@@ -8,6 +8,7 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#include <math.h> // For round
#include <stdlib.h>
#include "libyuv/convert.h"
......@@ -183,7 +184,7 @@ TEST_F(libyuvTest, TestYUV) {
TestYUVToRGB(240, 128, 128, r1, g1, b1, benchmark_width_, benchmark_height_);
EXPECT_EQ(255, r1);
EXPECT_EQ(254, g1);
EXPECT_EQ(255, g1);
EXPECT_EQ(255, b1);
}
......
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