summaryrefslogtreecommitdiff
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.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)
138 138
139 tmp = ld->start[0]; 139 tmp = ld->start[0];
140#ifndef ARCH_IS_BIG_ENDIAN 140#ifndef ARCH_IS_BIG_ENDIAN
141 BSWAP(tmp); 141 tmp = BSWAP(tmp);
142#endif 142#endif
143 ld->bufa = tmp; 143 ld->bufa = tmp;
144 144
145 tmp = ld->start[1]; 145 tmp = ld->start[1];
146#ifndef ARCH_IS_BIG_ENDIAN 146#ifndef ARCH_IS_BIG_ENDIAN
147 BSWAP(tmp); 147 tmp = BSWAP(tmp);
148#endif 148#endif
149 ld->bufb = tmp; 149 ld->bufb = tmp;
150 ld->bits_left = 32; 150 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 = {
115 * 115 *
116 * Gives size of codeword and actual data (x,y,v,w) 116 * Gives size of codeword and actual data (x,y,v,w)
117 */ 117 */
118static hcb_2_pair hcb10_2[] ICONST_ATTR = { 118static hcb_2_pair hcb10_2[] ICONST_ATTR_FAAD_LARGE_IRAM = {
119 /* 4 bit codewords */ 119 /* 4 bit codewords */
120 { 4, 1, 1 }, 120 { 4, 1, 1 },
121 { 4, 1, 2 }, 121 { 4, 1, 2 },