From ca0d09c50fc4246fdae67b8a33799ea580b68593 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 4 Aug 2013 12:24:36 +0200 Subject: EncoderPlugin: pass config_param reference --- test/run_encoder.cxx | 2 +- test/test_vorbis_encoder.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test') 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, ¶m, &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, ¶m, NULL); + const auto encoder = encoder_init(*plugin, param, NULL); assert(encoder != NULL); /* open the encoder */ -- cgit v1.2.3