Only run MMX2 tests when MMX2 is available.

Originally committed as revision 9245 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Biurrun 2007-06-07 15:59:15 +00:00
parent b9702de506
commit 94254fc00e
1 changed files with 2 additions and 0 deletions

View File

@ -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),