diff options
author | Max Kellermann <max@duempel.org> | 2008-08-26 08:27:09 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-08-26 08:27:09 +0200 |
commit | e754ed01a77a0dfb5039148cd4990a669ea9024c (patch) | |
tree | e759b3b1aae66fa75bbe36aee62476d3cb87d876 /src/decode.c | |
parent | 772d3da98a31b5cefa9d4de0dd5056fb19eae00f (diff) | |
download | mpd-e754ed01a77a0dfb5039148cd4990a669ea9024c.tar.gz mpd-e754ed01a77a0dfb5039148cd4990a669ea9024c.tar.xz mpd-e754ed01a77a0dfb5039148cd4990a669ea9024c.zip |
renamed functions in decoder_list.h
InputPlugin to decoder_plugin, and no camelCase.
Diffstat (limited to '')
-rw-r--r-- | src/decode.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/decode.c b/src/decode.c index 42b8adb02..4f12d7a97 100644 --- a/src/decode.c +++ b/src/decode.c @@ -243,7 +243,7 @@ static void decodeStart(void) unsigned int next = 0; /* first we try mime types: */ - while (ret && (plugin = getInputPluginFromMimeType(inStream.mime, next++))) { + while (ret && (plugin = decoder_plugin_from_mime_type(inStream.mime, next++))) { if (!plugin->stream_decode_func) continue; if (!(plugin->stream_types & INPUT_PLUGIN_STREAM_URL)) @@ -259,7 +259,7 @@ static void decodeStart(void) if (plugin == NULL) { const char *s = getSuffix(path_max_utf8); next = 0; - while (ret && (plugin = getInputPluginFromSuffix(s, next++))) { + while (ret && (plugin = decoder_plugin_from_suffix(s, next++))) { if (!plugin->stream_decode_func) continue; if (!(plugin->stream_types & @@ -280,7 +280,7 @@ static void decodeStart(void) if (plugin == NULL) { /* we already know our mp3Plugin supports streams, no * need to check for stream{Types,DecodeFunc} */ - if ((plugin = getInputPluginFromName("mp3"))) { + if ((plugin = decoder_plugin_from_name("mp3"))) { decoder.plugin = plugin; ret = plugin->stream_decode_func(&decoder, &inStream); @@ -289,7 +289,7 @@ static void decodeStart(void) } else { unsigned int next = 0; const char *s = getSuffix(path_max_utf8); - while (ret && (plugin = getInputPluginFromSuffix(s, next++))) { + while (ret && (plugin = decoder_plugin_from_suffix(s, next++))) { if (!plugin->stream_types & INPUT_PLUGIN_STREAM_FILE) continue; |