aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_api.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-01 14:53:30 +0100
committerMax Kellermann <max@duempel.org>2008-11-01 14:53:30 +0100
commit1a4a3e1f1f09ade38095757952bbf732ec275fe8 (patch)
tree465860e3457d06639aea949175ba8776f585dec7 /src/decoder_api.c
parent5036368f540af93372b750fe80e1c191b409a7a9 (diff)
downloadmpd-1a4a3e1f1f09ade38095757952bbf732ec275fe8.tar.gz
mpd-1a4a3e1f1f09ade38095757952bbf732ec275fe8.tar.xz
mpd-1a4a3e1f1f09ade38095757952bbf732ec275fe8.zip
decoder: manage decoder list in a static array
Currently, there is no way to dynamically load decoder plugins, thus we don't need a dynamic list to manage them.
Diffstat (limited to 'src/decoder_api.c')
-rw-r--r--src/decoder_api.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/decoder_api.c b/src/decoder_api.c
index d9ac186e3..77f5b0215 100644
--- a/src/decoder_api.c
+++ b/src/decoder_api.c
@@ -18,7 +18,6 @@
*/
#include "decoder_internal.h"
-#include "decoder_list.h"
#include "decoder_control.h"
#include "player_control.h"
#include "audio.h"
@@ -31,16 +30,6 @@
#include <assert.h>
-void decoder_plugin_register(struct decoder_plugin *plugin)
-{
- decoder_plugin_load(plugin);
-}
-
-void decoder_plugin_unregister(struct decoder_plugin *plugin)
-{
- decoder_plugin_unload(plugin);
-}
-
void decoder_initialized(struct decoder * decoder,
const struct audio_format *audio_format,
float total_time)