From d9ea3082fb608935c72620e272f4b3e74b2c3a44 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 30 Jan 2013 22:00:32 +0100 Subject: ConfigData: add constructors/destructors --- test/test_vorbis_encoder.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/test_vorbis_encoder.cxx') diff --git a/test/test_vorbis_encoder.cxx b/test/test_vorbis_encoder.cxx index 887fd1a77..aad48acde 100644 --- a/test/test_vorbis_encoder.cxx +++ b/test/test_vorbis_encoder.cxx @@ -53,10 +53,10 @@ main(G_GNUC_UNUSED int argc, G_GNUC_UNUSED char **argv) const struct encoder_plugin *plugin = encoder_plugin_get("vorbis"); assert(plugin != NULL); - struct config_param *param = config_new_param(NULL, -1); - config_add_block_param(param, "quality", "5.0", -1); + config_param param; + config_add_block_param(¶m, "quality", "5.0", -1); - struct encoder *encoder = encoder_init(plugin, param, NULL); + struct encoder *encoder = encoder_init(plugin, ¶m, NULL); assert(encoder != NULL); /* open the encoder */ -- cgit v1.2.3