From e41be362a1dc5691721d72b7f915e32d7f5272bb Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 26 Aug 2008 08:27:08 +0200 Subject: renamed InputPlugin to struct decoder_plugin "decoder plugin" is a better name than "input plugin", since the plugin does not actually do the input - InputStream does. Also don't use typedef, so we can forward-declare it if required. --- src/inputPlugins/mp3_plugin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/inputPlugins/mp3_plugin.c') diff --git a/src/inputPlugins/mp3_plugin.c b/src/inputPlugins/mp3_plugin.c index 3e7e0ea3f..2fbc61878 100644 --- a/src/inputPlugins/mp3_plugin.c +++ b/src/inputPlugins/mp3_plugin.c @@ -1110,7 +1110,7 @@ static MpdTag *mp3_tagDup(char *file) static const char *mp3_suffixes[] = { "mp3", "mp2", NULL }; static const char *mp3_mimeTypes[] = { "audio/mpeg", NULL }; -InputPlugin mp3Plugin = { +struct decoder_plugin mp3Plugin = { "mp3", mp3_plugin_init, NULL, @@ -1124,6 +1124,6 @@ InputPlugin mp3Plugin = { }; #else -InputPlugin mp3Plugin; +struct decoder_plugin mp3Plugin; #endif /* HAVE_MAD */ -- cgit v1.2.3