|  | Name: libyuv | 
|  | URL: https://chromium.googlesource.com/libyuv/libyuv/ | 
|  | Version: dfaf7534e0e536f7e5ef8ddd7326797bd09b8622 | 
|  | License: BSD | 
|  | License File: LICENSE | 
|  |  | 
|  | Description: | 
|  | libyuv is an open source project that includes YUV conversion and scaling | 
|  | functionality. | 
|  |  | 
|  | The optimized scaler in libyuv is used in multiple resolution encoder example, | 
|  | which down-samples the original input video (f.g. 1280x720) a number of times | 
|  | in order to encode multiple resolution bit streams. | 
|  |  | 
|  | Local Modifications: | 
|  |  | 
|  | diff --git a/third_party/libyuv/source/cpu_id.cc b/third_party/libyuv/source/cpu_id.cc | 
|  | index fe89452b7..72a7fb82f 100644 | 
|  | --- a/third_party/libyuv/source/cpu_id.cc | 
|  | +++ b/third_party/libyuv/source/cpu_id.cc | 
|  | @@ -108,7 +108,7 @@ void CpuId(int eax, int ecx, int* cpu_info) { | 
|  | //  } | 
|  | // For VS2013 and earlier 32 bit, the _xgetbv(0) optimizer produces bad code. | 
|  | // https://code.google.com/p/libyuv/issues/detail?id=529 | 
|  | -#if defined(_M_IX86) && (_MSC_VER < 1900) | 
|  | +#if defined(_M_IX86) && defined(_MSC_VER) && (_MSC_VER < 1900) | 
|  | #pragma optimize("g", off) | 
|  | #endif | 
|  | #if (defined(_M_IX86) || defined(_M_X64) || defined(__i386__) || \ | 
|  | @@ -129,7 +129,7 @@ int GetXCR0() { | 
|  | #define GetXCR0() 0 | 
|  | #endif  // defined(_M_IX86) || defined(_M_X64) .. | 
|  | // Return optimization to previous setting. | 
|  | -#if defined(_M_IX86) && (_MSC_VER < 1900) | 
|  | +#if defined(_M_IX86) && defined(_MSC_VER) && (_MSC_VER < 1900) | 
|  | #pragma optimize("g", on) | 
|  | #endif |