]> git.sesse.net Git - ffmpeg/commitdiff
Fix compilation when MMX is disabled.
authorRonald S. Bultje <rsbultje@gmail.com>
Thu, 7 Jun 2007 15:30:54 +0000 (15:30 +0000)
committerDiego Biurrun <diego@biurrun.de>
Thu, 7 Jun 2007 15:30:54 +0000 (15:30 +0000)
inspired by a patch by Ronald S. Bultje, rbultje ronald.bitfreak net

Originally committed as revision 9243 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/dct-test.c

index 1c1ffd3098a2f4b79f6899744537f69accd59a54..c51c249b3937a289683eadcab94fb02f2d71829a 100644 (file)
@@ -91,7 +91,7 @@ struct algo algos[] = {
   DCT_ERROR("INT",             1, j_rev_dct,          idct, MMX_PERM),
   DCT_ERROR("SIMPLE-C",        1, simple_idct,        idct, NO_PERM),
 
-#ifdef ARCH_X86
+#ifdef HAVE_MMX
   DCT_ERROR("MMX",             0, ff_fdct_mmx,        fdct, NO_PERM),
   DCT_ERROR("MMX2",            0, ff_fdct_mmx2,       fdct, NO_PERM),