swscale: Remove HAVE_MMX from files that are only compiled with MMX enabled.

This commit is contained in:
Diego Biurrun 2011-06-15 00:56:31 +02:00
parent 97e057ff81
commit a60466dbc3
2 changed files with 2 additions and 2 deletions

View File

@ -127,7 +127,7 @@ void rgb2rgb_init_x86(void)
{
int cpu_flags = av_get_cpu_flags();
if (HAVE_MMX && cpu_flags & AV_CPU_FLAG_MMX)
if (cpu_flags & AV_CPU_FLAG_MMX)
rgb2rgb_init_MMX();
if (HAVE_AMD3DNOW && cpu_flags & AV_CPU_FLAG_3DNOW)
rgb2rgb_init_3DNOW();

View File

@ -81,7 +81,7 @@ SwsFunc ff_yuv2rgb_init_mmx(SwsContext *c)
}
#endif
if (HAVE_MMX && cpu_flags & AV_CPU_FLAG_MMX) {
if (cpu_flags & AV_CPU_FLAG_MMX) {
switch (c->dstFormat) {
case PIX_FMT_RGB32:
if (c->srcFormat == PIX_FMT_YUVA420P) {