From 4c026f0c7f5ca6d02bf010fabe5123b9b39ddf47 Mon Sep 17 00:00:00 2001 From: Andree Buschmann Date: Sun, 27 Jun 2010 18:11:07 +0000 Subject: 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 --- apps/codecs/libmad/decoder.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'apps/codecs/libmad/decoder.h') diff --git a/apps/codecs/libmad/decoder.h b/apps/codecs/libmad/decoder.h index b9ea0b1..7700df6 100644 --- a/apps/codecs/libmad/decoder.h +++ b/apps/codecs/libmad/decoder.h @@ -56,7 +56,7 @@ struct mad_decoder { } *sync; void *cb_data; - +/* rockbox: unused enum mad_flow (*input_func)(void *, struct mad_stream *); enum mad_flow (*header_func)(void *, struct mad_header const *); enum mad_flow (*filter_func)(void *, @@ -65,8 +65,9 @@ struct mad_decoder { struct mad_header const *, struct mad_pcm *); enum mad_flow (*error_func)(void *, struct mad_stream *, struct mad_frame *); enum mad_flow (*message_func)(void *, void *, unsigned int *); +*/ }; - +/* rockbox: unused void mad_decoder_init(struct mad_decoder *, void *, enum mad_flow (*)(void *, struct mad_stream *), enum mad_flow (*)(void *, struct mad_header const *), @@ -87,5 +88,6 @@ int mad_decoder_finish(struct mad_decoder *); int mad_decoder_run(struct mad_decoder *, enum mad_decoder_mode); int mad_decoder_message(struct mad_decoder *, void *, unsigned int *); +*/ # endif -- cgit v1.1