[MPlayer-cvslog] r32437 - trunk/libmpcodecs/vf_yadif.c

cehoyos subversion at mplayerhq.hu
Sun Oct 3 22:49:50 CEST 2010


Author: cehoyos
Date: Sun Oct  3 22:49:50 2010
New Revision: 32437

Log:
yadif: Explicit wordlength for compare. Fixes compile with clang.
 
Patch by İsmail Dönmez, ismail namtrac org

Modified:
   trunk/libmpcodecs/vf_yadif.c

Modified: trunk/libmpcodecs/vf_yadif.c
==============================================================================
--- trunk/libmpcodecs/vf_yadif.c	Sun Oct  3 17:42:03 2010	(r32436)
+++ trunk/libmpcodecs/vf_yadif.c	Sun Oct  3 22:49:50 2010	(r32437)
@@ -197,7 +197,7 @@ static void filter_line_mmx2(struct vf_p
 \
             /* 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] */\


More information about the MPlayer-cvslog mailing list