Only run MMX2 tests when MMX2 is available.

Originally committed as revision 9245 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Diego Biurrun 18 years ago
parent b9702de506
commit 94254fc00e
  1. 2
      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),

Loading…
Cancel
Save