decoder_list: fix decoder_plugin_from_mime_type()
Copy'n'paste error: call decoder_plugin_supports_mime_type() instead of decoder_plugin_supports_suffix().
This commit is contained in:
parent
54033c74e4
commit
6975c087e0
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user