aboutsummaryrefslogtreecommitdiffstats
path: root/src/encoder
diff options
context:
space:
mode:
Diffstat (limited to 'src/encoder')
-rw-r--r--src/encoder/EncoderInterface.hxx2
-rw-r--r--src/encoder/EncoderPlugin.hxx5
2 files changed, 2 insertions, 5 deletions
diff --git a/src/encoder/EncoderInterface.hxx b/src/encoder/EncoderInterface.hxx
index 8ee723a63..c1ecd872f 100644
--- a/src/encoder/EncoderInterface.hxx
+++ b/src/encoder/EncoderInterface.hxx
@@ -144,7 +144,6 @@ encoder_flush(Encoder *encoder, Error &error)
* a new one.
*
* @param encoder the encoder
- * @param tag the tag object
* @return true on success
*/
static inline bool
@@ -243,7 +242,6 @@ encoder_read(Encoder *encoder, void *dest, size_t length)
/**
* Get mime type of encoded content.
*
- * @param plugin the encoder plugin
* @return an constant string, nullptr on failure
*/
static inline const char *
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