[FFmpeg-cvslog] Fix build with --disable-yasm.

Daniel Kang git at videolan.org
Tue Jul 5 02:52:23 CEST 2011


ffmpeg | branch: master | Daniel Kang <daniel.d.kang at gmail.com> | Sun Jul  3 22:28:47 2011 -0400| [58f7aad05125058407a3e15ad0125ec3e6d48ffa] | committer: Ronald S. Bultje

Fix build with --disable-yasm.

Signed-off-by: Ronald S. Bultje <rsbultje at gmail.com>

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

 libavcodec/x86/dsputil_mmx.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/libavcodec/x86/dsputil_mmx.c b/libavcodec/x86/dsputil_mmx.c
index d6eed82..cfec97c 100644
--- a/libavcodec/x86/dsputil_mmx.c
+++ b/libavcodec/x86/dsputil_mmx.c
@@ -2835,11 +2835,13 @@ void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx)
             H264_QPEL_FUNCS(3, 2, ssse3);
             H264_QPEL_FUNCS(3, 3, ssse3);
             }
+#if HAVE_YASM
             else if (bit_depth == 10) {
                 H264_QPEL_FUNCS_10(1, 0, ssse3_cache64)
                 H264_QPEL_FUNCS_10(2, 0, ssse3_cache64)
                 H264_QPEL_FUNCS_10(3, 0, ssse3_cache64)
             }
+#endif
             c->add_png_paeth_prediction= add_png_paeth_prediction_ssse3;
 #if HAVE_YASM
             if (!high_bit_depth) {



More information about the ffmpeg-cvslog mailing list