shithub: openh264

Download patch

ref: 8a4300be5058ac3144d071108a8f70feace3dc61
parent: ca36beb3fac4a4d05d36d29ab65606557b3e0137
author: Dong Zhang <dongzha@cisco.com>
date: Sun Apr 13 15:41:29 EDT 2014

Fix potential issue for neon implement on encoder mode decision.
Error happens when ME_REFINE_BUF_STRIDE is not equal to 32.

--- a/codec/common/arm/mc_neon.S
+++ b/codec/common/arm/mc_neon.S
@@ -1988,7 +1988,7 @@
 	// horizon filtered
 	UNPACK_2_16BITS_TO_ABC	q10, q11, q9, q12, q13
 	FILTER_3_IN_16BITS_TO_8BITS q9, q12, q13, d10	//output to d10
-	vst1.u8	{d9, d10}, [r2], r3		//write 16Byte
+	vst1.u8	{d9, d10}, [r2]!		//write 16Byte
 	UNPACK_1_IN_8x16BITS_TO_8BITS	d11, d22, d23, q11 //output to d11[0]
 	vst1.u8	{d11[0]}, [r2], r3		//write 16th Byte