summaryrefslogtreecommitdiffstats
path: root/libswscale
diff options
context:
space:
mode:
authorivo <ivo@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-04-11 22:17:58 +0000
committerivo <ivo@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-04-11 22:17:58 +0000
commit42ece1776c539c5559262f8ce4c99899a761a32e (patch)
treef1eccef67f2613290ab6d97ab4b387409e06e5bf /libswscale
parentfdc96044ff12fd26358defa3de2950fe78480bda (diff)
downloadmpv-42ece1776c539c5559262f8ce4c99899a761a32e.tar.bz2
mpv-42ece1776c539c5559262f8ce4c99899a761a32e.tar.xz
cosmetics after last commit; remove superfluous braces
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22979 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/rgb2rgb.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/libswscale/rgb2rgb.c b/libswscale/rgb2rgb.c
index bea30e6f04..59b24ccd80 100644
--- a/libswscale/rgb2rgb.c
+++ b/libswscale/rgb2rgb.c
@@ -215,17 +215,15 @@ static uint64_t __attribute__((aligned(8))) dither8[2]={
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();
- }
}
/**