shithub: openh264

Download patch

ref: 22cb77873081275114e64a6ea58088365d977424
parent: 52cd5d99ab29304edf2a814a53a4a54f2ce43bc8
author: Martin Storsjö <martin@martin.st>
date: Thu Jun 11 17:28:29 EDT 2015

Fix the NEON register restoring in McHorVer30WidthEq8_AArch64_neon

This function pushes 16 bytes to the stack, but popped off 32
bytes.

This fixes a regression since 6f64f2372.

--- a/codec/common/arm64/mc_aarch64_neon.S
+++ b/codec/common/arm64/mc_aarch64_neon.S
@@ -590,7 +590,7 @@
     VEC4_ST1_8BITS_8ELEMENT x2, x3, v1, v3, v5, v7
     cbnz x4, w8_xy_30_mc_luma_loop
 
-    ldp d8,d9,[sp],#32
+    ldp d8,d9,[sp],#16
 WELS_ASM_AARCH64_FUNC_END
 
 WELS_ASM_AARCH64_FUNC_BEGIN McHorVer30WidthEq4_AArch64_neon