Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 ecda14d)
  • Loading branch information
garybuhrmaster authored and Beirdo committed Apr 10, 2012
1 parent ed67f14 commit 2f7bd8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/filters/yadif/filter_yadif.c
Expand Up @@ -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] */\
Expand Down

0 comments on commit 2f7bd8d

Please sign in to comment.