Mercurial > mplayer.hg
changeset 29104:f40ddfeeb70b
swscale: {}-related cosmetics.
author | ramiro |
---|---|
date | Sat, 04 Apr 2009 22:43:24 +0000 |
parents | 06c79db43cd8 |
children | 9502a8895e77 |
files | libswscale/swscale.c |
diffstat | 1 files changed, 10 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/libswscale/swscale.c Sat Apr 04 22:41:46 2009 +0000 +++ b/libswscale/swscale.c Sat Apr 04 22:43:24 2009 +0000 @@ -1776,26 +1776,29 @@ } } -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 */