decoder/mpcdec: set 24 bit sample format

This fixes a regression due to a typo caused by "decoder: use
audio_format_init_checked()".
This commit is contained in:
Max Kellermann 2009-11-25 08:58:56 +01:00
parent 300f936228
commit 3857bb9990
1 changed files with 1 additions and 1 deletions

View File

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