From 712931ca6e6fdb30dbb97c36a5887fc8749db52c Mon Sep 17 00:00:00 2001 From: Michael Giacomelli Date: Sat, 20 Sep 2008 22:20:58 +0000 Subject: Opps, fix mp3 decoding in the sim. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18559 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libmad/synth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps') 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]; -- cgit v1.2.3