[FFmpeg-cvslog] dirac/x86: fix compile without inline asm

Michael Niedermayer git at videolan.org
Wed Jan 30 02:52:19 CET 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Jan 30 02:41:31 2013 +0100| [4d3d3625495915c45d63d1d72d332159d9d29baa] | committer: Michael Niedermayer

dirac/x86: fix compile without inline asm

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavcodec/x86/dsputil_mmx.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavcodec/x86/dsputil_mmx.c b/libavcodec/x86/dsputil_mmx.c
index dcf2345..d1e7bea 100644
--- a/libavcodec/x86/dsputil_mmx.c
+++ b/libavcodec/x86/dsputil_mmx.c
@@ -1634,8 +1634,10 @@ void ff_ ## OPNAME2 ## _dirac_pixels32_ ## EXT(uint8_t *dst, const uint8_t *src[
     }\
 }
 
+#if HAVE_MMX_INLINE
 DIRAC_PIXOP(put, put, mmx)
 DIRAC_PIXOP(avg, avg, mmx)
+#endif
 DIRAC_PIXOP(avg, ff_avg, mmxext)
 
 #if HAVE_YASM



More information about the ffmpeg-cvslog mailing list