[x264-devel] Fix invalid memory accesses in x86 lowres_init when width <= 16

Anton Mitrofanov git at videolan.org
Wed Aug 24 22:40:17 CEST 2011


x264 | branch: master | Anton Mitrofanov <BugMaster at narod.ru> | Sun Aug 21 02:44:45 2011 +0400| [14de3782abaa278a133887b8980ff7b716bfd159] | committer: Jason Garrett-Glaser

Fix invalid memory accesses in x86 lowres_init when width <= 16

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=14de3782abaa278a133887b8980ff7b716bfd159
---

 common/x86/mc-a2.asm |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/common/x86/mc-a2.asm b/common/x86/mc-a2.asm
index c3c8061..00fc739 100644
--- a/common/x86/mc-a2.asm
+++ b/common/x86/mc-a2.asm
@@ -1578,6 +1578,7 @@ cglobal frame_init_lowres_core, 6,7,(12-4*(BIT_DEPTH/9)) ; 8 for HIGH_BIT_DEPTH,
     mova      m0, m2
     mova      m1, m3
     sub      r6d, 8
+    jz .skip
 %endif ; mmsize
 .hloop:
     sub       r0, mmsize*2



More information about the x264-devel mailing list