changeset 22961:08c5276ddf1d

cosmetics after last commit; remove superfluous braces
author ivo
date Wed, 11 Apr 2007 22:17:58 +0000
parents 2d1ad4285df4
children f9a5e58f9f40
files libswscale/rgb2rgb.c
diffstat 1 files changed, 4 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/libswscale/rgb2rgb.c	Wed Apr 11 21:00:25 2007 +0000
+++ b/libswscale/rgb2rgb.c	Wed Apr 11 22:17:58 2007 +0000
@@ -215,17 +215,15 @@
 
 void sws_rgb2rgb_init(int flags){
 #if (defined(HAVE_MMX2) || defined(HAVE_3DNOW) || defined(HAVE_MMX))  && defined(CONFIG_GPL)
-	if(flags & SWS_CPU_CAPS_MMX2){
+	if(flags & SWS_CPU_CAPS_MMX2)
 		rgb2rgb_init_MMX2();
-	}else if(flags & SWS_CPU_CAPS_3DNOW){
+	else if(flags & SWS_CPU_CAPS_3DNOW)
 		rgb2rgb_init_3DNOW();
-	}else if(flags & SWS_CPU_CAPS_MMX){
+	else if(flags & SWS_CPU_CAPS_MMX)
 		rgb2rgb_init_MMX();
-	}else
+	else
 #endif /* defined(HAVE_MMX2) || defined(HAVE_3DNOW) || defined(HAVE_MMX) */
-	{
 		rgb2rgb_init_C();
-	}
 }
 
 /**