From 06d5d4b03ec446b9eb7a7351c32ef2fdca29d3c8 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 24 Sep 2009 21:40:07 +0200 Subject: conf: handle fatal errors with GError Don't call g_error(), which will abort the process and dump core. This patch does not affect all the config_get_X() functions. These need some more refactoring. --- test/run_encoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/run_encoder.c') diff --git a/test/run_encoder.c b/test/run_encoder.c index a9b00e95e..787fb03cf 100644 --- a/test/run_encoder.c +++ b/test/run_encoder.c @@ -73,7 +73,7 @@ int main(int argc, char **argv) } param = config_new_param(NULL, -1); - config_add_block_param(param, "quality", "5.0", -1); + config_add_block_param(param, "quality", "5.0", -1, NULL); encoder = encoder_init(plugin, param, &error); if (encoder == NULL) { -- cgit v1.2.3