Permalink
Browse files

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>
  • Loading branch information...
1 parent 19a7e01 commit ecda14d1d751a4aa4b8eeb903330393d0e12bc48 @garybuhrmaster garybuhrmaster committed with Beirdo Apr 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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] */\

0 comments on commit ecda14d

Please sign in to comment.