[vlc-devel] [RFC v2 1/2] audio: do not hardcode audio channel limits into the decoder/demuxer.
Jean-Baptiste Kempf
jb at videolan.org
Mon Oct 12 18:08:15 CEST 2015
On 12 Oct, Emeric Grange wrote :
> {
> - msg_Err( p_dec, "bad channels count (1-9): %i",
> - p_dec->fmt_in.audio.i_channels );
> + msg_Err( p_dec, "bad channels count (1-%i): %i",
> + AOUT_CHAN_MAX, p_dec->fmt_in.audio.i_channels );
You should be able to do it at compile time, no?
Like:
msg_Err( p_dec, "bad channels count (1-" AOUT_CHAN_MAX "): %i,
--
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device
More information about the vlc-devel
mailing list