aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputPlugins/flac_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-26 08:27:08 +0200
committerMax Kellermann <max@duempel.org>2008-08-26 08:27:08 +0200
commite41be362a1dc5691721d72b7f915e32d7f5272bb (patch)
tree296478ef28a6c2a9dbf54e39328b754223459cf2 /src/inputPlugins/flac_plugin.c
parentcdaa26c81d692fefe5c9c2a4a01dcff633c99564 (diff)
downloadmpd-e41be362a1dc5691721d72b7f915e32d7f5272bb.tar.gz
mpd-e41be362a1dc5691721d72b7f915e32d7f5272bb.tar.xz
mpd-e41be362a1dc5691721d72b7f915e32d7f5272bb.zip
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.
Diffstat (limited to 'src/inputPlugins/flac_plugin.c')
-rw-r--r--src/inputPlugins/flac_plugin.c6
1 files changed, 3 insertions, 3 deletions
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 */