From 9ee9c679a7d444db223cf932e89cd39351f54f2d Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Sat, 26 Oct 2013 08:24:09 -0400 Subject: x86: videodsp: Fix a bug in a %if statement where we used '%%' instead of '&&'. Signed-off-by: Janne Grunau --- libavcodec/x86/videodsp.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/x86/videodsp.asm') 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 -- cgit v1.2.3