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 | |
parent | ccd56bf22069ecb8f228dea0738c1ae2eba04a39 (diff) |
Opps, fix mp3 decoding in the sim.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18559 a1c6a512-1295-4272-9138-f99709370657
-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, int p, sb; unsigned int phase, ch, s; mad_fixed_t *pcm, (*filter)[2][2][16][8]; - mad_fixed_t const (*sbsample)[36][32]; + mad_fixed_t (*sbsample)[36][32]; mad_fixed_t (*fe)[8], (*fx)[8], (*fo)[8]; mad_fixed_t const (*D0ptr)[32], *ptr; mad_fixed_t const (*D1ptr)[32]; @@ -1202,7 +1202,7 @@ void synth_full(struct mad_synth *synth, struct mad_frame const *frame, mad_fixed64lo_t lo; for (ch = 0; ch < nch; ++ch) { - sbsample = &frame->sbsample_prev[ch]; + sbsample = &(*frame->sbsample_prev)[ch]; filter = &synth->filter[ch]; phase = synth->phase; pcm = synth->pcm.samples[ch]; |