diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2009-04-04 22:43:24 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2009-04-04 22:43:24 +0000 |
commit | 14d5c18c98b91b2d21f731e3628bdf0e2f3f64e2 (patch) | |
tree | 7b4381910213c0a40cc9521f61f698c03cde8a23 | |
parent | 7ac4032784c9a68800657b4a83e0ee16289df2f7 (diff) | |
download | ffmpeg-14d5c18c98b91b2d21f731e3628bdf0e2f3f64e2.tar.gz |
swscale: {}-related cosmetics.
Originally committed as revision 29144 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
-rw-r--r-- | libswscale/swscale.c | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c index a226c1f2a1..7e25afb6e5 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -1776,26 +1776,29 @@ static void globalInit(void){ } } -static SwsFunc getSwsFunc(int flags){ +static SwsFunc getSwsFunc(int flags) +{ #if defined(RUNTIME_CPUDETECT) && CONFIG_GPL #if ARCH_X86 // ordered per speed fastest first - if (flags & SWS_CPU_CAPS_MMX2) + if (flags & SWS_CPU_CAPS_MMX2) { return swScale_MMX2; - else if (flags & SWS_CPU_CAPS_3DNOW) + } else if (flags & SWS_CPU_CAPS_3DNOW) { return swScale_3DNow; - else if (flags & SWS_CPU_CAPS_MMX) + } else if (flags & SWS_CPU_CAPS_MMX) { return swScale_MMX; - else + } else { return swScale_C; + } #else #if ARCH_PPC - if (flags & SWS_CPU_CAPS_ALTIVEC) + if (flags & SWS_CPU_CAPS_ALTIVEC) { return swScale_altivec; - else + } else { return swScale_C; + } #endif return swScale_C; #endif /* ARCH_X86 */ |