[FFmpeg-cvslog] r29144 - trunk/libswscale/swscale.c

ramiro subversion
Sun Apr 5 00:43:24 CEST 2009


Author: ramiro
Date: Sun Apr  5 00:43:24 2009
New Revision: 29144

Log:
swscale: {}-related cosmetics.

Modified:
   trunk/libswscale/swscale.c

Modified: trunk/libswscale/swscale.c
==============================================================================
--- trunk/libswscale/swscale.c	Sun Apr  5 00:41:46 2009	(r29143)
+++ trunk/libswscale/swscale.c	Sun Apr  5 00:43:24 2009	(r29144)
@@ -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 */



More information about the ffmpeg-cvslog mailing list