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/flac_plugin.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/inputPlugins/flac_plugin.c') diff --git a/src/inputPlugins/flac_plugin.c b/src/inputPlugins/flac_plugin.c index b76327dc1..2af9d17bc 100644 --- a/src/inputPlugins/flac_plugin.c +++ b/src/inputPlugins/flac_plugin.c @@ -469,7 +469,7 @@ static int flac_decode(struct decoder * decoder, InputStream * inStream) # define flac_plugin_init NULL #else /* FLAC_API_VERSION_CURRENT >= 7 */ /* some of this stuff is duplicated from oggflac_plugin.c */ -extern InputPlugin oggflacPlugin; +extern struct decoder_plugin oggflacPlugin; static MpdTag *oggflac_tag_dup(char *file) { @@ -544,7 +544,7 @@ static const char *flac_mime_types[] = { "audio/x-flac", "application/x-flac", NULL }; -InputPlugin flacPlugin = { +struct decoder_plugin flacPlugin = { "flac", flac_plugin_init, NULL, @@ -559,6 +559,6 @@ InputPlugin flacPlugin = { #else /* !HAVE_FLAC */ -InputPlugin flacPlugin; +struct decoder_plugin flacPlugin; #endif /* HAVE_FLAC */ -- cgit v1.2.3