From bc0fec0afe8e541dd2d7df2ddbe04b13f6a93678 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 9 Sep 2011 21:16:46 +0200 Subject: conf: move duplicate check to _read_name_value() config_add_block_param() cannot fail, which makes it easier to use. --- test/run_encoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/run_encoder.c b/test/run_encoder.c index ce2928e26..5e6b158c6 100644 --- a/test/run_encoder.c +++ b/test/run_encoder.c @@ -75,7 +75,7 @@ int main(int argc, char **argv) } param = config_new_param(NULL, -1); - config_add_block_param(param, "quality", "5.0", -1, NULL); + config_add_block_param(param, "quality", "5.0", -1); encoder = encoder_init(plugin, param, &error); if (encoder == NULL) { -- cgit v1.2.3