aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2013-10-26 08:24:09 -0400
committerMichael Niedermayer <michaelni@gmx.at>2013-10-27 15:02:48 +0100
commitcd86eb265f36a79d2996f44ba7ec7e7acbc99f81 (patch)
treeb4cda0a4843783cbe64b0c459d4922417057dcfe
parent696aa74b1ab3199415a247f59022e1a8bf1d2ddc (diff)
downloadffmpeg-cd86eb265f36a79d2996f44ba7ec7e7acbc99f81.tar.gz
avcodec/x86/videodsp: fix a bug in a %if statement where we used '%%' instead of '&&'.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/x86/videodsp.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/videodsp.asm b/libavcodec/x86/videodsp.asm
index 6d5b57e086..85a41b5b6d 100644
--- a/libavcodec/x86/videodsp.asm
+++ b/libavcodec/x86/videodsp.asm
@@ -381,7 +381,7 @@ VERTICAL_EXTEND 16, 22
%endif
%if %1-%%off >= 4
-%if %1 > 8 %% %1-%%off > 4
+%if %1 > 8 && %1-%%off > 4
movq [%2+%1-8], m0
%assign %%off %1
%elif %1 >= 8 && %1-%%off >= 4