[FFmpeg-cvslog] dsputil_mmx: ff_put_dirac_pixels depend now on yasm.

Michael Niedermayer git at videolan.org
Mon Nov 26 14:03:32 CET 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Nov 26 13:59:41 2012 +0100| [86270236d5ef97263858a576fab2c366fb2aa76a] | committer: Michael Niedermayer

dsputil_mmx: ff_put_dirac_pixels depend now on yasm.

Fix compile failure without yasm

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

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

 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 bbacee5..d09ce5c 100644
--- a/libavcodec/x86/dsputil_mmx.c
+++ b/libavcodec/x86/dsputil_mmx.c
@@ -2044,6 +2044,7 @@ DIRAC_PIXOP(put, mmx)
 DIRAC_PIXOP(avg, mmx)
 DIRAC_PIXOP(avg, mmxext)
 
+#if HAVE_YASM
 void ff_put_dirac_pixels16_sse2(uint8_t *dst, const uint8_t *src[5], int stride, int h)
 {
     ff_put_pixels16_sse2(dst, src[0], stride, h);
@@ -2063,6 +2064,7 @@ void ff_avg_dirac_pixels32_sse2(uint8_t *dst, const uint8_t *src[5], int stride,
     ff_avg_pixels16_sse2(dst+16, src[0]+16, stride, h);
 }
 #endif
+#endif
 
 /* XXX: Those functions should be suppressed ASAP when all IDCTs are
  * converted. */



More information about the ffmpeg-cvslog mailing list