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:
parent
300f936228
commit
3857bb9990
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue