summaryrefslogtreecommitdiff
path: root/libavcodec/x86/videodsp.asm
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2013-10-26 08:24:09 -0400
committerJanne Grunau <janne-libav@jannau.net>2014-01-30 15:33:23 +0100
commit9ee9c679a7d444db223cf932e89cd39351f54f2d (patch)
treef32febfbdc13cfeda6d36a1b10dab2e98801cd29 /libavcodec/x86/videodsp.asm
parent51daafb02eaf96e0743a37ce95a7f5d02c1fa3c2 (diff)
x86: videodsp: Fix a bug in a %if statement where we used '%%' instead of '&&'.
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
Diffstat (limited to 'libavcodec/x86/videodsp.asm')
-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 aceb77a2a2..53b9e8292c 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