Commit 6e270e35 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

aout_DecNew: Use AOUT_CHAN_MAX

parent cbe148ba
......@@ -50,7 +50,7 @@ int aout_DecNew( audio_output_t *p_aout,
const aout_request_vout_t *p_request_vout )
{
/* Sanitize audio format */
if( p_format->i_channels > 32 )
if( p_format->i_channels > AOUT_CHAN_MAX )
{
msg_Err( p_aout, "too many audio channels (%u)",
p_format->i_channels );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment