aboutsummaryrefslogtreecommitdiffstats
path: root/src/encoder/EncoderPlugin.hxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/encoder/EncoderPlugin.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/encoder/EncoderPlugin.hxx b/src/encoder/EncoderPlugin.hxx
index f990bf105..09b68a0a8 100644
--- a/src/encoder/EncoderPlugin.hxx
+++ b/src/encoder/EncoderPlugin.hxx
@@ -64,15 +64,14 @@ struct EncoderPlugin {
* Creates a new encoder object.
*
* @param plugin the encoder plugin
- * @param param optional configuration
* @param error location to store the error occurring, or nullptr to ignore errors.
* @return an encoder object on success, nullptr on failure
*/
static inline Encoder *
encoder_init(const EncoderPlugin &plugin, const ConfigBlock &block,
- Error &error_r)
+ Error &error)
{
- return plugin.init(block, error_r);
+ return plugin.init(block, error);
}
#endif