From: Anton Mitrofanov Date: Sat, 20 Aug 2011 22:44:45 +0000 (+0400) Subject: Fix invalid memory accesses in x86 lowres_init when width <= 16 X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=14de3782abaa278a133887b8980ff7b716bfd159;p=x264.git Fix invalid memory accesses in x86 lowres_init when width <= 16 --- 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