From ee77268087b869f278ee5f54c800a277c97b923d Mon Sep 17 00:00:00 2001 From: cehoyos Date: Sun, 3 Oct 2010 20:49:50 +0000 Subject: vf_yadif: modify asm to make compile with clang MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Explicit wordlength for compare. Fixes compile with clang. Patch by İsmail Dönmez, ismail namtrac org git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32437 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vf_yadif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmpcodecs/vf_yadif.c b/libmpcodecs/vf_yadif.c index bcca97398a..25a84ba0e7 100644 --- a/libmpcodecs/vf_yadif.c +++ b/libmpcodecs/vf_yadif.c @@ -197,7 +197,7 @@ static void filter_line_mmx2(struct vf_priv_s *p, uint8_t *dst, uint8_t *prev, u \ /* if(p->mode<2) ... */\ "movq %[tmp3], %%mm6 \n\t" /* diff */\ - "cmp $2, %[mode] \n\t"\ + "cmpl $2, %[mode] \n\t"\ "jge 1f \n\t"\ LOAD4("(%["prev2"],%[mrefs],2)", %%mm2) /* prev2[x-2*refs] */\ LOAD4("(%["next2"],%[mrefs],2)", %%mm4) /* next2[x-2*refs] */\ -- cgit v1.2.3