From 5ef42826d2e17fe041c0f2744868cf0e5deb7d12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=B0smail=20D=C3=B6nmez?= Date: Sun, 3 Oct 2010 20:01:36 +0000 Subject: [PATCH] yadif: Explicit wordlength for compare. Fixes compile with clang. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Patch by İsmail Dönmez: ismail at namtrac dot org Originally committed as revision 25328 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavfilter/x86/yadif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/x86/yadif.c b/libavfilter/x86/yadif.c index 90fa15e3f3..25ae70caac 100644 --- a/libavfilter/x86/yadif.c +++ b/libavfilter/x86/yadif.c @@ -156,7 +156,7 @@ void ff_yadif_filter_line_mmx(uint8_t *dst, \ /* 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] */\