aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dct-test.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2007-06-07 15:59:15 +0000
committerDiego Biurrun <diego@biurrun.de>2007-06-07 15:59:15 +0000
commit94254fc00ee5ca447988fa4fbf4cf78538149fd1 (patch)
treec1001f46173b933f50752093e28ace38cc62f0db /libavcodec/dct-test.c
parentb9702de506f4253f83617111ae0bf7a6724115a8 (diff)
downloadffmpeg-94254fc00ee5ca447988fa4fbf4cf78538149fd1.tar.gz
Only run MMX2 tests when MMX2 is available.
Originally committed as revision 9245 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dct-test.c')
-rw-r--r--libavcodec/dct-test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c
index 1e1c42bba5..77aa4b69b2 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),