aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-11-25 08:58:56 +0100
committerMax Kellermann <max@duempel.org>2009-11-25 08:59:13 +0100
commit3857bb99909a3b2816c86f19d3bc3776ab7c8f4f (patch)
tree409f1ea9e3c17741be061373dd7a3515aa792ded /src/decoder
parent300f9362282b1152e2d517314e72064ae4ca395a (diff)
downloadmpd-3857bb99909a3b2816c86f19d3bc3776ab7c8f4f.tar.gz
mpd-3857bb99909a3b2816c86f19d3bc3776ab7c8f4f.tar.xz
mpd-3857bb99909a3b2816c86f19d3bc3776ab7c8f4f.zip
decoder/mpcdec: set 24 bit sample format
This fixes a regression due to a typo caused by "decoder: use audio_format_init_checked()".
Diffstat (limited to '')
-rw-r--r--src/decoder/mpcdec_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/mpcdec_plugin.c b/src/decoder/mpcdec_plugin.c
index 761073e36..d985f8459 100644
--- a/src/decoder/mpcdec_plugin.c
+++ b/src/decoder/mpcdec_plugin.c
@@ -196,7 +196,7 @@ mpcdec_decode(struct decoder *mpd_decoder, struct input_stream *is)
mpc_demux_get_info(demux, &info);
#endif
- if (!audio_format_init_checked(&audio_format, info.sample_freq, 16,
+ if (!audio_format_init_checked(&audio_format, info.sample_freq, 24,
info.channels, &error)) {
g_warning("%s", error->message);
g_error_free(error);