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 22:52:05 (GMT)
commit2f7bd8d4a52cdc1c817fd016f3e1472623557650 (patch)
tree276237a07c51631ffdccf496db68747ecbc21577
parented67f148adbe5b3122643ccfebca625e9b5ea12f (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> (cherry picked from commit ecda14d1d751a4aa4b8eeb903330393d0e12bc48)
-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 4de5ce0..8ecbd5c 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] */\