diff options
author | Max Kellermann <max@duempel.org> | 2008-12-27 13:34:51 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-12-27 13:34:51 +0100 |
commit | 9220e0edfff2428fbbcec60460c5841cbd40eadd (patch) | |
tree | cc997a53da08b83db7add4a0813d8b2ab80cf8ad /src/decoder_list.c | |
parent | 0e7c67067b11e2db06bfc6a05798559a7e44a25f (diff) | |
parent | 4674d0442a4edc8647c060fbff2dd5e7ae9e3f84 (diff) | |
download | mpd-9220e0edfff2428fbbcec60460c5841cbd40eadd.tar.gz mpd-9220e0edfff2428fbbcec60460c5841cbd40eadd.tar.xz mpd-9220e0edfff2428fbbcec60460c5841cbd40eadd.zip |
Merge branch 'experimental' of git://git.musicpd.org/metyl/mpd
Conflicts:
configure.ac
src/ls.h
src/output/shout_plugin.c
Diffstat (limited to 'src/decoder_list.c')
-rw-r--r-- | src/decoder_list.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/decoder_list.c b/src/decoder_list.c index c7f66289f..c70d6334c 100644 --- a/src/decoder_list.c +++ b/src/decoder_list.c @@ -18,6 +18,7 @@ #include "decoder_list.h" #include "decoder_api.h" +#include "utils.h" #include <glib.h> @@ -76,17 +77,6 @@ enum { /** which plugins have been initialized successfully? */ static bool decoder_plugins_enabled[num_decoder_plugins]; -static int stringFoundInStringArray(const char *const*array, const char *suffix) -{ - while (array && *array) { - if (strcasecmp(*array, suffix) == 0) - return 1; - array++; - } - - return 0; -} - const struct decoder_plugin * decoder_plugin_from_suffix(const char *suffix, unsigned int next) { |