summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2010-07-01 21:39:55 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2010-07-01 21:39:55 +0000
commitc794c1feae25eadca68da15606051922b2bb364d (patch)
tree594b97e88eddb2bac73618ef196cf2b695d087e4
parent52f17dfe9d5221fdc83b2c5d719fe701dce46f24 (diff)
downloadrockbox-c794c1feae25eadca68da15606051922b2bb364d.tar.gz
rockbox-c794c1feae25eadca68da15606051922b2bb364d.tar.bz2
rockbox-c794c1feae25eadca68da15606051922b2bb364d.zip
Fix red and yellow. Needed to remove one codebook from IRAM due to full IRAM on iPod4G.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27226 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/codecs/libfaad/bits.c4
-rw-r--r--apps/codecs/libfaad/codebook/hcb_10.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/codecs/libfaad/bits.c b/apps/codecs/libfaad/bits.c
index f1a36235bd..8c70a86204 100644
--- a/apps/codecs/libfaad/bits.c
+++ b/apps/codecs/libfaad/bits.c
@@ -138,13 +138,13 @@ void faad_rewindbits(bitfile *ld)
tmp = ld->start[0];
#ifndef ARCH_IS_BIG_ENDIAN
- BSWAP(tmp);
+ tmp = BSWAP(tmp);
#endif
ld->bufa = tmp;
tmp = ld->start[1];
#ifndef ARCH_IS_BIG_ENDIAN
- BSWAP(tmp);
+ tmp = BSWAP(tmp);
#endif
ld->bufb = tmp;
ld->bits_left = 32;
diff --git a/apps/codecs/libfaad/codebook/hcb_10.h b/apps/codecs/libfaad/codebook/hcb_10.h
index 971d06aaf0..af48711460 100644
--- a/apps/codecs/libfaad/codebook/hcb_10.h
+++ b/apps/codecs/libfaad/codebook/hcb_10.h
@@ -115,7 +115,7 @@ static hcb hcb10_1[] ICONST_ATTR_FAAD_LARGE_IRAM = {
*
* Gives size of codeword and actual data (x,y,v,w)
*/
-static hcb_2_pair hcb10_2[] ICONST_ATTR = {
+static hcb_2_pair hcb10_2[] ICONST_ATTR_FAAD_LARGE_IRAM = {
/* 4 bit codewords */
{ 4, 1, 1 },
{ 4, 1, 2 },