Module: libav
Branch: master
Commit: 58f7aad05125058407a3e15ad0125ec3e6d48ffa

Author:    Daniel Kang <[email protected]>
Committer: Ronald S. Bultje <[email protected]>
Date:      Sun Jul  3 22:28:47 2011 -0400

Fix build with --disable-yasm.

Signed-off-by: Ronald S. Bultje <[email protected]>

---

 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) {

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to