diff options
author | Max Kellermann <max@duempel.org> | 2013-08-04 11:30:26 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-08-04 13:30:47 +0200 |
commit | 7a1d466fb279659048e80e2853a7906c90d73235 (patch) | |
tree | f0c73e11b86b584a1a3f230507eabcf6f02986ea /src/DecoderPlugin.hxx | |
parent | 83f4c48c8aaa46bbede4447c95939af310ea28ad (diff) | |
download | mpd-7a1d466fb279659048e80e2853a7906c90d73235.tar.gz mpd-7a1d466fb279659048e80e2853a7906c90d73235.tar.xz mpd-7a1d466fb279659048e80e2853a7906c90d73235.zip |
DecoderPlugin: pass config_param reference
Diffstat (limited to '')
-rw-r--r-- | src/DecoderPlugin.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DecoderPlugin.hxx b/src/DecoderPlugin.hxx index b250c4274..687447dee 100644 --- a/src/DecoderPlugin.hxx +++ b/src/DecoderPlugin.hxx @@ -42,7 +42,7 @@ struct decoder_plugin { * @return true if the plugin was initialized successfully, * false if the plugin is not available */ - bool (*init)(const struct config_param *param); + bool (*init)(const config_param ¶m); /** * Deinitialize a decoder plugin which was initialized @@ -112,7 +112,7 @@ struct decoder_plugin { */ static inline bool decoder_plugin_init(const struct decoder_plugin *plugin, - const struct config_param *param) + const config_param ¶m) { return plugin->init != nullptr ? plugin->init(param) |