diff options
author | wm4 <wm4@nowhere> | 2013-12-21 20:45:33 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-21 21:43:17 +0100 |
commit | 1a0e83e70878fdbd34e0a90d688ec709eb641dc4 (patch) | |
tree | c2a28886149d33c0a77b470ceb11fcaf32a687e9 /common/cpudetect.c | |
parent | ad2199128da4a689be374e92aab57ac2c9fa76b9 (diff) | |
download | mpv-1a0e83e70878fdbd34e0a90d688ec709eb641dc4.tar.bz2 mpv-1a0e83e70878fdbd34e0a90d688ec709eb641dc4.tar.xz |
cpudetect: remove mp_msg calls
Worthless anyway.
Diffstat (limited to 'common/cpudetect.c')
-rw-r--r-- | common/cpudetect.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/common/cpudetect.c b/common/cpudetect.c index ea28cf4dd4..d68370f231 100644 --- a/common/cpudetect.c +++ b/common/cpudetect.c @@ -25,16 +25,9 @@ #include "config.h" #include "common/cpudetect.h" -#include "common/msg.h" CpuCaps gCpuCaps; -static void dump_flag(const char *name, bool val) -{ - mp_msg(MSGT_CPUDETECT, MSGL_V, "CPU: %s: %s\n", name, - val ? "enabled" : "disabled"); -} - void GetCpuCaps(CpuCaps *c) { memset(c, 0, sizeof(*c)); @@ -47,10 +40,4 @@ void GetCpuCaps(CpuCaps *c) c->hasSSE3 = (flags & AV_CPU_FLAG_SSE3) && !(flags & AV_CPU_FLAG_SSE3SLOW); c->hasSSSE3 = flags & AV_CPU_FLAG_SSSE3; #endif - dump_flag("MMX", c->hasMMX); - dump_flag("MMX2", c->hasMMX2); - dump_flag("SSE", c->hasSSE); - dump_flag("SSE2", c->hasSSE2); - dump_flag("SSE3", c->hasSSE3); - dump_flag("SSSE3", c->hasSSSE3); } |