From e2b018e7fef49bbe24be37cf14b1fffbf1a6c2fb Mon Sep 17 00:00:00 2001 From: Rob Purchase Date: Fri, 26 Jun 2009 07:12:21 +0000 Subject: Fix a typo in jpeg_idct4h which caused garbled JPEGs on ARMv5. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21520 a1c6a512-1295-4272-9138-f99709370657 --- apps/recorder/jpeg_idct_arm.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/recorder/jpeg_idct_arm.S') diff --git a/apps/recorder/jpeg_idct_arm.S b/apps/recorder/jpeg_idct_arm.S index d46843ff12..b9c94e5639 100644 --- a/apps/recorder/jpeg_idct_arm.S +++ b/apps/recorder/jpeg_idct_arm.S @@ -340,7 +340,7 @@ jpeg_idct4h: add r9, r4, r6 /* r9 = tmp10 >> 13 = d0 + d2 */ smlabb r5, r12, r5, r8 /* r5 = tmp2 = z1 + z2 * 6270 */ smlatb r7, r12, r7, r8 /* r7 = tmp0 = z1 - z3 * 15137 */ - sub r4, r5, r6 /* r4 = tmp12 >> 13 = d0 - d2 */ + sub r4, r4, r6 /* r4 = tmp12 >> 13 = d0 - d2 */ add r6, r5, r9, lsl #13 /* r6 = o0 */ rsb r9, r5, r9, lsl #13 /* r9 = o3 */ add r5, r7, r4, lsl #13 /* r5 = o1 */ -- cgit v1.2.3