diff options
| author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2010-06-27 18:11:07 +0000 |
|---|---|---|
| committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2010-06-27 18:11:07 +0000 |
| commit | 4c026f0c7f5ca6d02bf010fabe5123b9b39ddf47 (patch) | |
| tree | 18c1d4ae3392fb904dd981d0bcd110a46a1bbd35 /apps/codecs/libmad/stream.c | |
| parent | 9e86287946517e06893f4950d45d60056c00d9e7 (diff) | |
| download | rockbox-4c026f0c7f5ca6d02bf010fabe5123b9b39ddf47.zip rockbox-4c026f0c7f5ca6d02bf010fabe5123b9b39ddf47.tar.gz rockbox-4c026f0c7f5ca6d02bf010fabe5123b9b39ddf47.tar.bz2 rockbox-4c026f0c7f5ca6d02bf010fabe5123b9b39ddf47.tar.xz | |
Comment unused code in libmad. Clean up initialization and memset'ing of decoder arrays.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27159 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libmad/stream.c')
| -rw-r--r-- | apps/codecs/libmad/stream.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/codecs/libmad/stream.c b/apps/codecs/libmad/stream.c index adc9826..b0c5ad3 100644 --- a/apps/codecs/libmad/stream.c +++ b/apps/codecs/libmad/stream.c @@ -48,7 +48,10 @@ void mad_stream_init(struct mad_stream *stream) mad_bit_init(&stream->anc_ptr, 0); stream->anc_bitlen = 0; +/* rockbox: comment this to avoid allocation in following code. main_data is + * linked to an array in rockbox' apps/codecs/mpa.c before calling this. stream->main_data = 0; +*/ stream->md_len = 0; stream->options = 0; |