aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-10-09 16:32:36 +0200
committerMax Kellermann <max@duempel.org>2011-10-09 16:32:36 +0200
commitb9e99575cec8740a9db548e0b4dd4662dfa273de (patch)
tree08376a3d11f86a03f167c7d4500e1c56329d8441 /src/decoder
parentaccd26256185f4627583057ff3fafa39b5bc6387 (diff)
parent30414093349f15639374006e3be7136cd6642a59 (diff)
downloadmpd-b9e99575cec8740a9db548e0b4dd4662dfa273de.tar.gz
mpd-b9e99575cec8740a9db548e0b4dd4662dfa273de.tar.xz
mpd-b9e99575cec8740a9db548e0b4dd4662dfa273de.zip
Merge commit 'release-0.16.5'
Conflicts: NEWS configure.ac
Diffstat (limited to 'src/decoder')
-rw-r--r--src/decoder/wavpack_decoder_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/wavpack_decoder_plugin.c b/src/decoder/wavpack_decoder_plugin.c
index bfb13b2a4..487831088 100644
--- a/src/decoder/wavpack_decoder_plugin.c
+++ b/src/decoder/wavpack_decoder_plugin.c
@@ -176,7 +176,7 @@ wavpack_decode(struct decoder *decoder, WavpackContext *wpc, bool can_seek)
return;
}
- if ((WavpackGetMode(wpc) & MODE_FLOAT) == MODE_FLOAT) {
+ if (is_float) {
format_samples = format_samples_float;
} else {
format_samples = format_samples_int;