mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
b9702de506
commit
94254fc00e
|
@ -93,7 +93,9 @@ struct algo algos[] = {
|
||||||
|
|
||||||
#ifdef HAVE_MMX
|
#ifdef HAVE_MMX
|
||||||
DCT_ERROR("MMX", 0, ff_fdct_mmx, fdct, NO_PERM),
|
DCT_ERROR("MMX", 0, ff_fdct_mmx, fdct, NO_PERM),
|
||||||
|
#ifdef HAVE_MMX2
|
||||||
DCT_ERROR("MMX2", 0, ff_fdct_mmx2, fdct, NO_PERM),
|
DCT_ERROR("MMX2", 0, ff_fdct_mmx2, fdct, NO_PERM),
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_GPL
|
#ifdef CONFIG_GPL
|
||||||
DCT_ERROR("LIBMPEG2-MMX", 1, ff_mmx_idct, idct, MMX_PERM),
|
DCT_ERROR("LIBMPEG2-MMX", 1, ff_mmx_idct, idct, MMX_PERM),
|
||||||
|
|
Loading…
Reference in New Issue