[MPlayer-cvslog] r22979 - trunk/libswscale/rgb2rgb.c

ivo subversion at mplayerhq.hu
Thu Apr 12 00:17:58 CEST 2007


Author: ivo
Date: Thu Apr 12 00:17:58 2007
New Revision: 22979

Modified:
   trunk/libswscale/rgb2rgb.c

Log:
cosmetics after last commit; remove superfluous braces


Modified: trunk/libswscale/rgb2rgb.c
==============================================================================
--- trunk/libswscale/rgb2rgb.c	(original)
+++ trunk/libswscale/rgb2rgb.c	Thu Apr 12 00:17:58 2007
@@ -215,17 +215,15 @@ static uint64_t __attribute__((aligned(8
 
 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();
-	}
 }
 
 /**



More information about the MPlayer-cvslog mailing list