aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-09-09 21:16:46 +0200
committerMax Kellermann <max@duempel.org>2011-09-09 21:36:41 +0200
commitbc0fec0afe8e541dd2d7df2ddbe04b13f6a93678 (patch)
tree47b4c938ced03b5707a3deae07f2cb838a6a6fbb /test
parente3eca82cc3b3c3fd0b8557c1ec9ae99d1532b054 (diff)
downloadmpd-bc0fec0afe8e541dd2d7df2ddbe04b13f6a93678.tar.gz
mpd-bc0fec0afe8e541dd2d7df2ddbe04b13f6a93678.tar.xz
mpd-bc0fec0afe8e541dd2d7df2ddbe04b13f6a93678.zip
conf: move duplicate check to _read_name_value()
config_add_block_param() cannot fail, which makes it easier to use.
Diffstat (limited to 'test')
-rw-r--r--test/run_encoder.c2
1 files changed, 1 insertions, 1 deletions
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) {