diff options
author | Michael Giacomelli <giac2000@hotmail.com> | 2008-09-20 22:20:58 +0000 |
---|---|---|
committer | Michael Giacomelli <giac2000@hotmail.com> | 2008-09-20 22:20:58 +0000 |
commit | 712931ca6e6fdb30dbb97c36a5887fc8749db52c (patch) | |
tree | 6228f991c7785a54f0c662321b5227983f85b1c6 /apps/codecs/libmad/synth.c | |
parent | ccd56bf22069ecb8f228dea0738c1ae2eba04a39 (diff) | |
download | rockbox-712931ca6e6fdb30dbb97c36a5887fc8749db52c.tar.gz rockbox-712931ca6e6fdb30dbb97c36a5887fc8749db52c.zip |
Opps, fix mp3 decoding in the sim.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18559 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libmad/synth.c')
-rw-r--r-- | apps/codecs/libmad/synth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/libmad/synth.c b/apps/codecs/libmad/synth.c index b1a8491a69..769e1c11d3 100644 --- a/apps/codecs/libmad/synth.c +++ b/apps/codecs/libmad/synth.c | |||
@@ -1194,7 +1194,7 @@ void synth_full(struct mad_synth *synth, struct mad_frame const *frame, | |||
1194 | int p, sb; | 1194 | int p, sb; |
1195 | unsigned int phase, ch, s; | 1195 | unsigned int phase, ch, s; |
1196 | mad_fixed_t *pcm, (*filter)[2][2][16][8]; | 1196 | mad_fixed_t *pcm, (*filter)[2][2][16][8]; |
1197 | mad_fixed_t const (*sbsample)[36][32]; | 1197 | mad_fixed_t (*sbsample)[36][32]; |
1198 | mad_fixed_t (*fe)[8], (*fx)[8], (*fo)[8]; | 1198 | mad_fixed_t (*fe)[8], (*fx)[8], (*fo)[8]; |
1199 | mad_fixed_t const (*D0ptr)[32], *ptr; | 1199 | mad_fixed_t const (*D0ptr)[32], *ptr; |
1200 | mad_fixed_t const (*D1ptr)[32]; | 1200 | mad_fixed_t const (*D1ptr)[32]; |
@@ -1202,7 +1202,7 @@ void synth_full(struct mad_synth *synth, struct mad_frame const *frame, | |||
1202 | mad_fixed64lo_t lo; | 1202 | mad_fixed64lo_t lo; |
1203 | 1203 | ||
1204 | for (ch = 0; ch < nch; ++ch) { | 1204 | for (ch = 0; ch < nch; ++ch) { |
1205 | sbsample = &frame->sbsample_prev[ch]; | 1205 | sbsample = &(*frame->sbsample_prev)[ch]; |
1206 | filter = &synth->filter[ch]; | 1206 | filter = &synth->filter[ch]; |
1207 | phase = synth->phase; | 1207 | phase = synth->phase; |
1208 | pcm = synth->pcm.samples[ch]; | 1208 | pcm = synth->pcm.samples[ch]; |