From 14de3782abaa278a133887b8980ff7b716bfd159 Mon Sep 17 00:00:00 2001 From: Anton Mitrofanov Date: Sun, 21 Aug 2011 02:44:45 +0400 Subject: [PATCH] Fix invalid memory accesses in x86 lowres_init when width <= 16 --- common/x86/mc-a2.asm | 1 + 1 file changed, 1 insertion(+) diff --git a/common/x86/mc-a2.asm b/common/x86/mc-a2.asm index c3c8061a..00fc7397 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 -- 2.47.3