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.
This commit is contained in:
Max Kellermann
2008-11-01 14:53:30 +01:00
parent 5036368f54
commit 1a4a3e1f1f
4 changed files with 78 additions and 109 deletions

View File

@@ -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)