aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_vorbis_encoder.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-08-04 12:24:36 +0200
committerMax Kellermann <max@duempel.org>2013-08-04 14:07:50 +0200
commitca0d09c50fc4246fdae67b8a33799ea580b68593 (patch)
tree0a3fa0f4837c0274d034f8dba52b274f3e519c3a /test/test_vorbis_encoder.cxx
parent81c3224076da6ad727debc6bab8a5422f7322451 (diff)
downloadmpd-ca0d09c50fc4246fdae67b8a33799ea580b68593.tar.gz
mpd-ca0d09c50fc4246fdae67b8a33799ea580b68593.tar.xz
mpd-ca0d09c50fc4246fdae67b8a33799ea580b68593.zip
EncoderPlugin: pass config_param reference
Diffstat (limited to 'test/test_vorbis_encoder.cxx')
-rw-r--r--test/test_vorbis_encoder.cxx2
1 files changed, 1 insertions, 1 deletions
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 */