[FFmpeg-cvslog] x86: videodsp: Fix a bug in a %if statement where we used '%%' instead of '&&'.

Ronald S. Bultje git at videolan.org
Fri Jan 31 14:53:00 CET 2014


ffmpeg | branch: master | Ronald S. Bultje <rsbultje at gmail.com> | Sat Oct 26 08:24:09 2013 -0400| [9ee9c679a7d444db223cf932e89cd39351f54f2d] | committer: Janne Grunau

x86: videodsp: Fix a bug in a %if statement where we used '%%' instead of '&&'.

Signed-off-by: Janne Grunau <janne-libav at jannau.net>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9ee9c679a7d444db223cf932e89cd39351f54f2d
---

 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 aceb77a..53b9e82 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



More information about the ffmpeg-cvslog mailing list