[vlc-commits] yadif: fixed ambiguous instruction detected by the clang static analyzer

Felix Paul Kühne git at videolan.org
Sat Apr 16 18:44:00 CEST 2011


vlc/vlc-1.1 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sat Apr 16 18:43:42 2011 +0200| [1856e26493fbdbfb169377fde5aca59976f557f8] | committer: Felix Paul Kühne

yadif: fixed ambiguous instruction detected by the clang static analyzer

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=1856e26493fbdbfb169377fde5aca59976f557f8
---

 modules/video_filter/yadif.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/video_filter/yadif.h b/modules/video_filter/yadif.h
index 2d2a56f..260fa65 100644
--- a/modules/video_filter/yadif.h
+++ b/modules/video_filter/yadif.h
@@ -154,7 +154,7 @@ static void yadif_filter_line_mmx2(struct vf_priv_s *p, uint8_t *dst, uint8_t *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 vlc-commits mailing list