changeset 32351:7727a2450505

yadif: Explicit wordlength for compare. Fixes compile with clang. Patch by smail Dnmez, ismail namtrac org
author cehoyos
date Sun, 03 Oct 2010 20:49:50 +0000
parents bf5f7fa4d519
children 76f94c00a69f
files libmpcodecs/vf_yadif.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_yadif.c	Sun Oct 03 15:42:03 2010 +0000
+++ b/libmpcodecs/vf_yadif.c	Sun Oct 03 20:49:50 2010 +0000
@@ -197,7 +197,7 @@
 \
             /* 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] */\