aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_list.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
commit772d3da98a31b5cefa9d4de0dd5056fb19eae00f (patch)
tree8adb7d5598917c3e64483df29171b8b5508cb8a9 /src/decoder_list.c
parentf1a014d094a6788a062967d7940ccfae96093144 (diff)
downloadmpd-772d3da98a31b5cefa9d4de0dd5056fb19eae00f.tar.gz
mpd-772d3da98a31b5cefa9d4de0dd5056fb19eae00f.tar.xz
mpd-772d3da98a31b5cefa9d4de0dd5056fb19eae00f.zip
no camel case in struct decoder_plugin
Diffstat (limited to '')
-rw-r--r--src/decoder_list.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/decoder_list.c b/src/decoder_list.c
index 5906fd3c0..7da8147fe 100644
--- a/src/decoder_list.c
+++ b/src/decoder_list.c
@@ -39,7 +39,7 @@ void loadInputPlugin(struct decoder_plugin * inputPlugin)
if (!inputPlugin->name)
return;
- if (inputPlugin->initFunc && inputPlugin->initFunc() < 0)
+ if (inputPlugin->init_func && inputPlugin->init_func() < 0)
return;
insertInList(inputPlugin_list, inputPlugin->name, (void *)inputPlugin);
@@ -47,8 +47,8 @@ void loadInputPlugin(struct decoder_plugin * inputPlugin)
void unloadInputPlugin(struct decoder_plugin * inputPlugin)
{
- if (inputPlugin->finishFunc)
- inputPlugin->finishFunc();
+ if (inputPlugin->finish_func)
+ inputPlugin->finish_func();
deleteFromList(inputPlugin_list, inputPlugin->name);
}
@@ -105,7 +105,7 @@ struct decoder_plugin *getInputPluginFromMimeType(const char *mimeType, unsigned
while (node != NULL) {
plugin = node->data;
- if (stringFoundInStringArray(plugin->mimeTypes, mimeType)) {
+ if (stringFoundInStringArray(plugin->mime_types, mimeType)) {
pos = node->nextNode;
return plugin;
}