diff options
author | Thom Johansen <thomj@rockbox.org> | 2006-08-02 17:08:43 +0000 |
---|---|---|
committer | Thom Johansen <thomj@rockbox.org> | 2006-08-02 17:08:43 +0000 |
commit | bdaac210862ebd0b288701901f4528b7e5aa83aa (patch) | |
tree | b0871d142c14db90c8068747a672121fae2a3edb /apps | |
parent | 879d8532166bf673c079b9bbcc36948a4ec87a6c (diff) | |
download | rockbox-bdaac210862ebd0b288701901f4528b7e5aa83aa.tar.gz rockbox-bdaac210862ebd0b288701901f4528b7e5aa83aa.zip |
Fix erronous ARM assembler case for order 1 frames in the FLAC codec. Fixes FS #5759.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10411 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/codecs/libffmpegFLAC/arm.S | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/codecs/libffmpegFLAC/arm.S b/apps/codecs/libffmpegFLAC/arm.S index 27b38efa8d..39c4b36cda 100644 --- a/apps/codecs/libffmpegFLAC/arm.S +++ b/apps/codecs/libffmpegFLAC/arm.S | |||
@@ -202,14 +202,14 @@ lpc_decode_arm: | |||
202 | b .exit | 202 | b .exit |
203 | 203 | ||
204 | .order1: | 204 | .order1: |
205 | ldr r5, [r4] | 205 | ldr r5, [r4] @ load the one coef we need |
206 | ldr r4, [r3], #4 | 206 | ldr r4, [r3], #4 @ load one history sample, r3 now points to residual |
207 | .loop1: | 207 | .loop1: |
208 | mul r2, r4, r5 | 208 | mul r2, r4, r5 @ multiply coef by history sample |
209 | ldr r4, [r3] | 209 | ldr r4, [r3] @ load residual |
210 | add r2, r4, r2, asr r1 | 210 | add r4, r4, r2, asr r1 @ add result to residual |
211 | str r2, [r3], #4 | 211 | str r4, [r3], #4 @ place r3 at next residual, we already have |
212 | subs r0, r0, #1 | 212 | subs r0, r0, #1 @ the current sample in r4 for the next iteration |
213 | bne .loop1 | 213 | bne .loop1 |
214 | b .exit | 214 | b .exit |
215 | 215 | ||