Commit f5711e28 authored by Max Kellermann's avatar Max Kellermann

moved decoder externs to inputPlugin.c

The decoder_plugin instances are only used inputPlugin.c, so move them from the header file.
parent e41be362
...@@ -19,6 +19,17 @@ ...@@ -19,6 +19,17 @@
#include "inputPlugin.h" #include "inputPlugin.h"
#include "decoder_api.h" #include "decoder_api.h"
extern struct decoder_plugin mp3Plugin;
extern struct decoder_plugin oggvorbisPlugin;
extern struct decoder_plugin flacPlugin;
extern struct decoder_plugin oggflacPlugin;
extern struct decoder_plugin audiofilePlugin;
extern struct decoder_plugin mp4Plugin;
extern struct decoder_plugin aacPlugin;
extern struct decoder_plugin mpcPlugin;
extern struct decoder_plugin wavpackPlugin;
extern struct decoder_plugin modPlugin;
static List *inputPlugin_list; static List *inputPlugin_list;
void loadInputPlugin(struct decoder_plugin * inputPlugin) void loadInputPlugin(struct decoder_plugin * inputPlugin)
......
...@@ -43,15 +43,4 @@ void initInputPlugins(void); ...@@ -43,15 +43,4 @@ void initInputPlugins(void);
/* this is where we "unload" all the "plugins" */ /* this is where we "unload" all the "plugins" */
void finishInputPlugins(void); void finishInputPlugins(void);
extern struct decoder_plugin mp3Plugin;
extern struct decoder_plugin oggvorbisPlugin;
extern struct decoder_plugin flacPlugin;
extern struct decoder_plugin oggflacPlugin;
extern struct decoder_plugin audiofilePlugin;
extern struct decoder_plugin mp4Plugin;
extern struct decoder_plugin aacPlugin;
extern struct decoder_plugin mpcPlugin;
extern struct decoder_plugin wavpackPlugin;
extern struct decoder_plugin modPlugin;
#endif #endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment