1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Andree Buschmann 2010-06-27 18:11:07 +00:00
parent 9e86287946
commit 4c026f0c7f
7 changed files with 47 additions and 50 deletions

View file

@ -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;