aboutsummaryrefslogtreecommitdiffstats
path: root/src/DecoderPlugin.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/DecoderPlugin.hxx')
-rw-r--r--src/DecoderPlugin.hxx4
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 &param);
/**
* 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 &param)
{
return plugin->init != nullptr
? plugin->init(param)