diff options
author | Max Kellermann <max@duempel.org> | 2009-11-25 08:58:56 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-11-25 08:59:13 +0100 |
commit | 3857bb99909a3b2816c86f19d3bc3776ab7c8f4f (patch) | |
tree | 409f1ea9e3c17741be061373dd7a3515aa792ded /src/decoder/mpcdec_plugin.c | |
parent | 300f9362282b1152e2d517314e72064ae4ca395a (diff) | |
download | mpd-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.c | 2 |
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); |