summaryrefslogtreecommitdiff
path: root/apps/codecs/libmad/decoder.h
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2010-06-27 18:11:07 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2010-06-27 18:11:07 +0000
commit4c026f0c7f5ca6d02bf010fabe5123b9b39ddf47 (patch)
tree18c1d4ae3392fb904dd981d0bcd110a46a1bbd35 /apps/codecs/libmad/decoder.h
parent9e86287946517e06893f4950d45d60056c00d9e7 (diff)
downloadrockbox-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/decoder.h')
-rw-r--r--apps/codecs/libmad/decoder.h6
1 files changed, 4 insertions, 2 deletions
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