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

Ronald S. Bultje git at videolan.org
Sun Oct 27 15:08:52 CET 2013


ffmpeg | branch: master | Ronald S. Bultje <rsbultje at gmail.com> | Sat Oct 26 08:24:09 2013 -0400| [cd86eb265f36a79d2996f44ba7ec7e7acbc99f81] | committer: Michael Niedermayer

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

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 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 6d5b57e..85a41b5 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