From 7a1d466fb279659048e80e2853a7906c90d73235 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 4 Aug 2013 11:30:26 +0200 Subject: DecoderPlugin: pass config_param reference --- src/DecoderPlugin.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/DecoderPlugin.hxx') 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) -- cgit v1.2.3