diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-10-04 00:40:05 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-10-04 17:58:42 +0200 |
commit | cc5e9e5ff052fe31aa757de79f2d11fb21df3fba (patch) | |
tree | 3f383c9989b5289b11c059a43ff5cac981266360 /libavutil/x86 | |
parent | 1e164c0bcc43ba01c5770b2d3977145eea6bcf98 (diff) | |
download | ffmpeg-cc5e9e5ff052fe31aa757de79f2d11fb21df3fba.tar.gz |
x86: ff_get_cpu_flags_x86(): Avoid a pointless variable indirection
Diffstat (limited to 'libavutil/x86')
-rw-r--r-- | libavutil/x86/cpu.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libavutil/x86/cpu.c b/libavutil/x86/cpu.c index 9acc86755d..9cf68e4c98 100644 --- a/libavutil/x86/cpu.c +++ b/libavutil/x86/cpu.c @@ -108,10 +108,7 @@ int ff_get_cpu_flags_x86(void) return 0; /* CPUID not supported */ #endif - cpuid(0, max_std_level, ebx, ecx, edx); - vendor.i[0] = ebx; - vendor.i[1] = edx; - vendor.i[2] = ecx; + cpuid(0, max_std_level, vendor.i[0], vendor.i[2], vendor.i[1]); if (max_std_level >= 1) { cpuid(1, eax, ebx, ecx, std_caps); |