shithub: libvpx

Download patch

ref: 3cecdd683e34527eac912fb3005e13ee1be8deaa
parent: 1a376c407ab128d0e9dd0d438d54ffba04ce5062
parent: 17b34a1bba99ccd2e25e0d27bc888ddbf1412b15
author: John Koleszar <jkoleszar@google.com>
date: Fri Jun 22 11:13:39 EDT 2012

Merge "Cosmetics: test/test_libvpx.cc"

--- a/test/test_libvpx.cc
+++ b/test/test_libvpx.cc
@@ -14,8 +14,7 @@
 #endif
 #include "third_party/googletest/src/include/gtest/gtest.h"
 
-static void append_gtest_filter(const char *str)
-{
+static void append_gtest_filter(const char *str) {
   std::string filter = ::testing::FLAGS_gtest_filter;
   filter += str;
   ::testing::FLAGS_gtest_filter = filter;
@@ -25,7 +24,7 @@
   ::testing::InitGoogleTest(&argc, argv);
 
 #if ARCH_X86 || ARCH_X86_64
-  int simd_caps = x86_simd_caps();
+  const int simd_caps = x86_simd_caps();
   if(!(simd_caps & HAS_MMX))
     append_gtest_filter(":-MMX/*");
   if(!(simd_caps & HAS_SSE))
--