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
This commit is contained in:
fbarchard@google.com 2015-01-15 21:53:52 +00:00
parent db81017f7b
commit 131aef142a
3 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,6 @@
Name: libyuv
URL: http://code.google.com/p/libyuv/
Version: 1228
Version: 1229
License: BSD
License File: LICENSE

View File

@ -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

View File

@ -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);
}