[SCM] libav/experimental: Only run MMX2 tests when MMX2 is available.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:01:13 UTC 2013


The following commit has been merged in the experimental branch:
commit 94254fc00ee5ca447988fa4fbf4cf78538149fd1
Author: Diego Biurrun <diego at biurrun.de>
Date:   Thu Jun 7 15:59:15 2007 +0000

    Only run MMX2 tests when MMX2 is available.
    
    Originally committed as revision 9245 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c
index 1e1c42b..77aa4b6 100644
--- a/libavcodec/dct-test.c
+++ b/libavcodec/dct-test.c
@@ -93,7 +93,9 @@ struct algo algos[] = {
 
 #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),

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list