From cc5e9e5ff052fe31aa757de79f2d11fb21df3fba Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Thu, 4 Oct 2012 00:40:05 +0200 Subject: x86: ff_get_cpu_flags_x86(): Avoid a pointless variable indirection --- libavutil/x86/cpu.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'libavutil/x86/cpu.c') 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); -- cgit v1.2.3