[MPlayer-cvslog] r31025 - trunk/libmpcodecs/vf_gradfun.c

diego subversion at mplayerhq.hu
Tue Apr 6 11:46:48 CEST 2010


Author: diego
Date: Tue Apr  6 11:46:47 2010
New Revision: 31025

Log:
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

Modified:
   trunk/libmpcodecs/vf_gradfun.c

Modified: trunk/libmpcodecs/vf_gradfun.c
==============================================================================
--- trunk/libmpcodecs/vf_gradfun.c	Mon Apr  5 21:35:35 2010	(r31024)
+++ trunk/libmpcodecs/vf_gradfun.c	Tue Apr  6 11:46:47 2010	(r31025)
@@ -188,7 +188,7 @@ static void filter_line_ssse3(uint8_t *d
 }
 #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 @@ static int vf_open(vf_instance_t *vf, ch
 
     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


More information about the MPlayer-cvslog mailing list