From 7a1d466fb279659048e80e2853a7906c90d73235 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 4 Aug 2013 11:30:26 +0200 Subject: DecoderPlugin: pass config_param reference --- src/decoder/DsdiffDecoderPlugin.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/decoder/DsdiffDecoderPlugin.cxx') diff --git a/src/decoder/DsdiffDecoderPlugin.cxx b/src/decoder/DsdiffDecoderPlugin.cxx index 10b31a204..9e9dab4d2 100644 --- a/src/decoder/DsdiffDecoderPlugin.cxx +++ b/src/decoder/DsdiffDecoderPlugin.cxx @@ -84,9 +84,9 @@ struct DsdiffMetaData { static bool lsbitfirst; static bool -dsdiff_init(const struct config_param *param) +dsdiff_init(const config_param ¶m) { - lsbitfirst = config_get_block_bool(param, "lsbitfirst", false); + lsbitfirst = param.GetBlockValue("lsbitfirst", false); return true; } -- cgit v1.2.3