mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2025-12-08 01:36:47 +08:00
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:
parent
9de8867ab6
commit
179054b813
@ -1,6 +1,6 @@
|
||||
Name: libyuv
|
||||
URL: http://code.google.com/p/libyuv/
|
||||
Version: 413
|
||||
Version: 414
|
||||
License: BSD
|
||||
License File: LICENSE
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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) |
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user