summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGary Buhrmaster <gary.buhrmaster@gmail.com>2012-04-10 19:12:40 (GMT)
committer Gavin Hurlbut <ghurlbut@mythtv.org>2012-04-10 19:12:40 (GMT)
commitecda14d1d751a4aa4b8eeb903330393d0e12bc48 (patch)
treeb821b4cb7bea2bd7b2d217111523f4e203fec1e1
parent19a7e0131146d38bfe384da55fc4c16193f2b54e (diff)
Fix a clang-related compile issue
Fixes #10473. Port the mplayer yadif filter fix (revision 32437) to mythtv port to allow compile with clang mplayer log: yadif: Explicit wordlength for compare. Fixes compile with clang. mplayer cvslog reference: http://lists.mplayerhq.hu/pipermail/mplayer-cvslog/2010-October/040647.html Signed-off-by: Gavin Hurlbut <ghurlbut@mythtv.org>
-rw-r--r--mythtv/filters/yadif/filter_yadif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mythtv/filters/yadif/filter_yadif.c b/mythtv/filters/yadif/filter_yadif.c
index 5e559d0..cd2c1e3 100644
--- a/mythtv/filters/yadif/filter_yadif.c
+++ b/mythtv/filters/yadif/filter_yadif.c
@@ -306,7 +306,7 @@ static void filter_line_mmx2(struct ThisFilter *p, 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] */\