aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/DsdiffDecoderPlugin.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-08-04 11:30:26 +0200
committerMax Kellermann <max@duempel.org>2013-08-04 13:30:47 +0200
commit7a1d466fb279659048e80e2853a7906c90d73235 (patch)
treef0c73e11b86b584a1a3f230507eabcf6f02986ea /src/decoder/DsdiffDecoderPlugin.cxx
parent83f4c48c8aaa46bbede4447c95939af310ea28ad (diff)
downloadmpd-7a1d466fb279659048e80e2853a7906c90d73235.tar.gz
mpd-7a1d466fb279659048e80e2853a7906c90d73235.tar.xz
mpd-7a1d466fb279659048e80e2853a7906c90d73235.zip
DecoderPlugin: pass config_param reference
Diffstat (limited to 'src/decoder/DsdiffDecoderPlugin.cxx')
-rw-r--r--src/decoder/DsdiffDecoderPlugin.cxx4
1 files changed, 2 insertions, 2 deletions
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 &param)
{
- lsbitfirst = config_get_block_bool(param, "lsbitfirst", false);
+ lsbitfirst = param.GetBlockValue("lsbitfirst", false);
return true;
}