aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/run_encoder.cxx2
-rw-r--r--test/test_vorbis_encoder.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/run_encoder.cxx b/test/run_encoder.cxx
index 4b1521b99..27ffddedd 100644
--- a/test/run_encoder.cxx
+++ b/test/run_encoder.cxx
@@ -71,7 +71,7 @@ int main(int argc, char **argv)
config_param param;
param.AddBlockParam("quality", "5.0", -1);
- const auto encoder = encoder_init(*plugin, &param, &error);
+ const auto encoder = encoder_init(*plugin, param, &error);
if (encoder == NULL) {
g_printerr("Failed to initialize encoder: %s\n",
error->message);
diff --git a/test/test_vorbis_encoder.cxx b/test/test_vorbis_encoder.cxx
index a523f9d72..75e1462dc 100644
--- a/test/test_vorbis_encoder.cxx
+++ b/test/test_vorbis_encoder.cxx
@@ -56,7 +56,7 @@ main(G_GNUC_UNUSED int argc, G_GNUC_UNUSED char **argv)
config_param param;
param.AddBlockParam("quality", "5.0", -1);
- const auto encoder = encoder_init(*plugin, &param, NULL);
+ const auto encoder = encoder_init(*plugin, param, NULL);
assert(encoder != NULL);
/* open the encoder */