aboutsummaryrefslogtreecommitdiff
path: root/src/decoder_list.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-15 17:48:37 +0100
committerMax Kellermann <max@duempel.org>2009-02-15 17:48:37 +0100
commita28287073b6ced1ab2b3c7dcc0a1168d9e7ac7ea (patch)
treea1c05d48059f9dd3e490f78ff3dc0ff18399b952 /src/decoder_list.c
parent92c203d7056df229d5289e6c7d1f1000dbc7ce95 (diff)
decoder_api: moved struct decoder_plugin to decoder_plugin.h
The decoder_plugin struct is used by both the MPD core and the decoder plugin implementations. Move it to a shared header file, to minimize header dependencies.
Diffstat (limited to 'src/decoder_list.c')
-rw-r--r--src/decoder_list.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/decoder_list.c b/src/decoder_list.c
index 71211a0e..550fb1e7 100644
--- a/src/decoder_list.c
+++ b/src/decoder_list.c
@@ -17,12 +17,14 @@
*/
#include "decoder_list.h"
-#include "decoder_api.h"
+#include "decoder_plugin.h"
#include "utils.h"
#include "config.h"
#include <glib.h>
+#include <string.h>
+
extern const struct decoder_plugin mp3Plugin;
extern const struct decoder_plugin vorbis_decoder_plugin;
extern const struct decoder_plugin flac_decoder_plugin;