From cd86eb265f36a79d2996f44ba7ec7e7acbc99f81 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Sat, 26 Oct 2013 08:24:09 -0400 Subject: [PATCH] avcodec/x86/videodsp: fix a bug in a %if statement where we used '%%' instead of '&&'. Signed-off-by: Michael Niedermayer --- libavcodec/x86/videodsp.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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