[FFmpeg-cvslog] dsputil: add missing HAVE_YASM guard

Daniel Kang git at videolan.org
Sun Jan 27 15:58:04 CET 2013


ffmpeg | branch: master | Daniel Kang <daniel.d.kang at gmail.com> | Sun Jan 27 02:14:53 2013 -0500| [d9e62f368d16420e213c0bc9e92221a3a4874a4d] | committer: Michael Niedermayer

dsputil: add missing HAVE_YASM guard

Fix compile error under
"--disable-optimizations --disable-yasm --disable-inline-asm"

Signed-off-by: Luca Barbato <lu_zero at gentoo.org>

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

 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 bc30e28..303d36d 100644
--- a/libavcodec/x86/dsputil_mmx.c
+++ b/libavcodec/x86/dsputil_mmx.c
@@ -82,6 +82,7 @@ DECLARE_ALIGNED(16, const double, ff_pd_1)[2] = { 1.0, 1.0 };
 DECLARE_ALIGNED(16, const double, ff_pd_2)[2] = { 2.0, 2.0 };
 
 
+#if HAVE_YASM
 void ff_put_pixels8_x2_mmxext(uint8_t *block, const uint8_t *pixels,
                               int line_size, int h);
 void ff_put_pixels8_x2_3dnow(uint8_t *block, const uint8_t *pixels,
@@ -180,6 +181,7 @@ void ff_put_no_rnd_mpeg4_qpel8_v_lowpass_mmxext(uint8_t *dst, uint8_t *src,
                                                 int dstStride, int srcStride);
 #define ff_put_no_rnd_pixels16_mmxext ff_put_pixels16_mmxext
 #define ff_put_no_rnd_pixels8_mmxext ff_put_pixels8_mmxext
+#endif /* HAVE_YASM */
 
 
 #if HAVE_INLINE_ASM



More information about the ffmpeg-cvslog mailing list