[FFmpeg-cvslog] r25328 - trunk/libavfilter/x86/yadif.c

andoma subversion
Sun Oct 3 22:01:36 CEST 2010


Author: andoma
Date: Sun Oct  3 22:01:36 2010
New Revision: 25328

Log:
yadif: Explicit wordlength for compare. Fixes compile with clang.

Patch by: ismail at namtrac dot org

Modified:
   trunk/libavfilter/x86/yadif.c

Modified: trunk/libavfilter/x86/yadif.c
==============================================================================
--- trunk/libavfilter/x86/yadif.c	Sun Oct  3 20:55:46 2010	(r25327)
+++ trunk/libavfilter/x86/yadif.c	Sun Oct  3 22:01:36 2010	(r25328)
@@ -156,7 +156,7 @@ void ff_yadif_filter_line_mmx(uint8_t *d
 \
             /* 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 ffmpeg-cvslog mailing list