summaryrefslogtreecommitdiffstats
path: root/libavfilter/x86
diff options
context:
space:
mode:
authorİsmail Dönmez <ismail@namtrac.org>2010-10-03 20:01:36 +0000
committerAndreas Öman <andreas@lonelycoder.com>2010-10-03 20:01:36 +0000
commit5ef42826d2e17fe041c0f2744868cf0e5deb7d12 (patch)
treecfc3f2e255567b0127b0c8824ee29c789c533724 /libavfilter/x86
parent7fe3c270c01cbe51e5c41f936c57e6f810eb0441 (diff)
downloadffmpeg-streaming-5ef42826d2e17fe041c0f2744868cf0e5deb7d12.zip
ffmpeg-streaming-5ef42826d2e17fe041c0f2744868cf0e5deb7d12.tar.gz
yadif: Explicit wordlength for compare. Fixes compile with clang.
Patch by İsmail Dönmez: ismail at namtrac dot org Originally committed as revision 25328 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/x86')
-rw-r--r--libavfilter/x86/yadif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/x86/yadif.c b/libavfilter/x86/yadif.c
index 90fa15e..25ae70c 100644
--- a/libavfilter/x86/yadif.c
+++ b/libavfilter/x86/yadif.c
@@ -156,7 +156,7 @@ void ff_yadif_filter_line_mmx(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] */\
OpenPOWER on IntegriCloud