From 6975c087e069bd19cf4838836c1ef350480bb8dd Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 9 Nov 2009 22:49:05 +0100 Subject: decoder_list: fix decoder_plugin_from_mime_type() Copy'n'paste error: call decoder_plugin_supports_mime_type() instead of decoder_plugin_supports_suffix(). --- src/decoder_list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/decoder_list.c b/src/decoder_list.c index 7ac9b5b3a..2ee4f3ec9 100644 --- a/src/decoder_list.c +++ b/src/decoder_list.c @@ -157,7 +157,7 @@ decoder_plugin_from_mime_type(const char *mimeType, unsigned int next) for (; decoder_plugins[i] != NULL; ++i) { const struct decoder_plugin *plugin = decoder_plugins[i]; if (decoder_plugins_enabled[i] && - decoder_plugin_supports_suffix(plugin, mimeType)) { + decoder_plugin_supports_mime_type(plugin, mimeType)) { ++i; return plugin; } -- cgit v1.2.3