summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Purchase <shotofadds@rockbox.org>2009-06-26 07:12:21 +0000
committerRob Purchase <shotofadds@rockbox.org>2009-06-26 07:12:21 +0000
commite2b018e7fef49bbe24be37cf14b1fffbf1a6c2fb (patch)
tree606a91a60979bb79f85865f4ec3b129300f659ac
parent5fe6ca6206e6ee201fb70e1c8b32fe066b2dfe9a (diff)
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
-rw-r--r--apps/recorder/jpeg_idct_arm.S2
1 files changed, 1 insertions, 1 deletions
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 */