diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/output_list.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output_list.c b/src/output_list.c index 6bb9b2f8b..e269086cf 100644 --- a/src/output_list.c +++ b/src/output_list.c @@ -106,8 +106,8 @@ audio_output_plugin_get(const char *name) const struct audio_output_plugin *plugin; audio_output_plugins_for_each(plugin, i) - if (strcmp(audio_output_plugins[i]->name, name) == 0) - return audio_output_plugins[i]; + if (strcmp(plugin->name, name) == 0) + return plugin; return NULL; } |