[vlc-devel] [RFC v2 1/2] audio: do not hardcode audio channel limits into the decoder/demuxer.
emeric.grange at gmail.com
Tue Oct 13 15:33:31 CEST 2015
2015-10-12 18:08 GMT+02:00 Jean-Baptiste Kempf <jb at videolan.org>:
> 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?
> msg_Err( p_dec, "bad channels count (1-" AOUT_CHAN_MAX "): %i,
Yes no problem I can do that, I'm just not used to do it that way.
> Jean-Baptiste Kempf
> http://www.jbkempf.com/ - +33 672 704 734
> Sent from my Electronic Device
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
More information about the vlc-devel