Zero out the cpuinfo to make valgrind happy.

BUG=91
TEST=build bot
Review URL: https://webrtc-codereview.appspot.com/860015

git-svn-id: http://libyuv.googlecode.com/svn/trunk@414 16f28f9a-4ce2-e073-06de-1de4eb20be90
This commit is contained in:
fbarchard@google.com 2012-10-12 07:55:28 +00:00
parent 9de8867ab6
commit 179054b813
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
Name: libyuv
URL: http://code.google.com/p/libyuv/
Version: 413
Version: 414
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 413
#define LIBYUV_VERSION 414
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT

View File

@ -139,7 +139,7 @@ static bool TestEnv(const char* name) {
LIBYUV_API
int InitCpuFlags(void) {
#if !defined(__CLR_VER) && defined(CPU_X86)
int cpu_info[4];
int cpu_info[4] = { 0, 0, 0, 0 };
__cpuid(cpu_info, 1);
cpu_info_ = ((cpu_info[3] & 0x04000000) ? kCpuHasSSE2 : 0) |
((cpu_info[2] & 0x00000200) ? kCpuHasSSSE3 : 0) |