diff options
author | Diego Biurrun <diego@biurrun.de> | 2007-06-07 15:59:15 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2007-06-07 15:59:15 +0000 |
commit | 94254fc00ee5ca447988fa4fbf4cf78538149fd1 (patch) | |
tree | c1001f46173b933f50752093e28ace38cc62f0db /libavcodec/dct-test.c | |
parent | b9702de506f4253f83617111ae0bf7a6724115a8 (diff) | |
download | ffmpeg-streaming-94254fc00ee5ca447988fa4fbf4cf78538149fd1.zip ffmpeg-streaming-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.c | 2 |
1 files changed, 2 insertions, 0 deletions
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), |