Commit e080f331 authored by Laurent Aimar's avatar Laurent Aimar

Also fix audio_sample_format_t::i_channels in aout_FormatPrepare.

parent afaea620
......@@ -238,6 +238,7 @@ unsigned int aout_BitsPerSample( vlc_fourcc_t i_format )
*****************************************************************************/
void aout_FormatPrepare( audio_sample_format_t * p_format )
{
p_format->i_channels = aout_FormatNbChannels( p_format );
p_format->i_bitspersample = aout_BitsPerSample( p_format->i_format );
if( p_format->i_bitspersample > 0 )
{
......
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