changeset 30983:8b6727d2d479

cosmetics: Reorder some x86-related preprocessor conditionals. This fixes two of the following warnings on non-x86 machines: libmpcodecs/vf_gradfun.c:388:5: warning: "HAVE_EBX_AVAILABLE" is not defined
author diego
date Tue, 06 Apr 2010 09:46:47 +0000
parents 38a8f88fab42
children ccf1dec0fce2
files libmpcodecs/vf_gradfun.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_gradfun.c	Mon Apr 05 19:35:35 2010 +0000
+++ b/libmpcodecs/vf_gradfun.c	Tue Apr 06 09:46:47 2010 +0000
@@ -188,7 +188,7 @@
 }
 #endif // HAVE_SSSE3
 
-#if HAVE_6REGS && HAVE_SSE2
+#if HAVE_SSE2 && HAVE_6REGS
 #define BLURV(load)\
     intptr_t x = -2*width;\
     __asm__ volatile(\
@@ -385,7 +385,7 @@
 
     vf->priv->blur_line = blur_line_c;
     vf->priv->filter_line = filter_line_c;
-#if HAVE_6REGS && HAVE_SSE2
+#if HAVE_SSE2 && HAVE_6REGS
     if (gCpuCaps.hasSSE2)
         vf->priv->blur_line = blur_line_sse2;
 #endif