[FFmpeg-cvslog] dct-test: allow to compile without HAVE_INLINE_ASM.

Ronald S. Bultje git at videolan.org
Wed Aug 1 23:40:11 CEST 2012


ffmpeg | branch: master | Ronald S. Bultje <rsbultje at gmail.com> | Tue Jul 31 20:30:29 2012 -0700| [ddbe71b44fc810cc39b576bf0047f89090cfabcb] | committer: Ronald S. Bultje

dct-test: allow to compile without HAVE_INLINE_ASM.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ddbe71b44fc810cc39b576bf0047f89090cfabcb
---

 libavcodec/dct-test.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c
index 5046544..9e19e0c 100644
--- a/libavcodec/dct-test.c
+++ b/libavcodec/dct-test.c
@@ -85,7 +85,7 @@ static const struct algo fdct_tab[] = {
     { "IJG-AAN-INT",    ff_fdct_ifast,         SCALE_PERM },
     { "IJG-LLM-INT",    ff_jpeg_fdct_islow_8,  NO_PERM    },
 
-#if HAVE_MMX
+#if HAVE_MMX && HAVE_INLINE_ASM
     { "MMX",            ff_fdct_mmx,           NO_PERM,   AV_CPU_FLAG_MMX     },
     { "MMX2",           ff_fdct_mmx2,          NO_PERM,   AV_CPU_FLAG_MMX2    },
     { "SSE2",           ff_fdct_sse2,          NO_PERM,   AV_CPU_FLAG_SSE2    },



More information about the ffmpeg-cvslog mailing list