From 3857bb99909a3b2816c86f19d3bc3776ab7c8f4f Mon Sep 17 00:00:00 2001
From: Max Kellermann <max@duempel.org>
Date: Wed, 25 Nov 2009 08:58:56 +0100
Subject: [PATCH] decoder/mpcdec: set 24 bit sample format

This fixes a regression due to a typo caused by "decoder: use
audio_format_init_checked()".
---
 src/decoder/mpcdec_plugin.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);