cosmetics after last commit; remove superfluous braces

Originally committed as revision 22979 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
pull/126/head
Ivo van Poorten 18 years ago
parent df170b81d9
commit ea70817379
  1. 10
      libswscale/rgb2rgb.c

@ -215,17 +215,15 @@ static uint64_t __attribute__((aligned(8))) dither8[2]={
void sws_rgb2rgb_init(int flags){ void sws_rgb2rgb_init(int flags){
#if (defined(HAVE_MMX2) || defined(HAVE_3DNOW) || defined(HAVE_MMX)) && defined(CONFIG_GPL) #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(); rgb2rgb_init_MMX2();
}else if(flags & SWS_CPU_CAPS_3DNOW){ else if(flags & SWS_CPU_CAPS_3DNOW)
rgb2rgb_init_3DNOW(); rgb2rgb_init_3DNOW();
}else if(flags & SWS_CPU_CAPS_MMX){ else if(flags & SWS_CPU_CAPS_MMX)
rgb2rgb_init_MMX(); rgb2rgb_init_MMX();
}else else
#endif /* defined(HAVE_MMX2) || defined(HAVE_3DNOW) || defined(HAVE_MMX) */ #endif /* defined(HAVE_MMX2) || defined(HAVE_3DNOW) || defined(HAVE_MMX) */
{
rgb2rgb_init_C(); rgb2rgb_init_C();
}
} }
/** /**

Loading…
Cancel
Save