changeset 5110:8fe26e4fd918 libavcodec

Only run MMX2 tests when MMX2 is available.
author diego
date Thu, 07 Jun 2007 15:59:15 +0000
parents 8d4f1823d98d
children 33c14c5956d0
files dct-test.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dct-test.c	Thu Jun 07 15:54:49 2007 +0000
+++ b/dct-test.c	Thu Jun 07 15:59:15 2007 +0000
@@ -93,7 +93,9 @@
 
 #ifdef HAVE_MMX
   DCT_ERROR("MMX",             0, ff_fdct_mmx,        fdct, NO_PERM),
+#ifdef HAVE_MMX2
   DCT_ERROR("MMX2",            0, ff_fdct_mmx2,       fdct, NO_PERM),
+#endif
 
 #ifdef CONFIG_GPL
   DCT_ERROR("LIBMPEG2-MMX",    1, ff_mmx_idct,        idct, MMX_PERM),