[vlc-devel] commit: Also fix audio_sample_format_t::i_channels in aout_FormatPrepare. ( Laurent Aimar )
git version control
git at videolan.org
Tue Jan 26 21:10:14 CET 2010
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Tue Jan 26 19:18:06 2010 +0100| [e080f331c7041595affd809f8bcd253bc4c6712c] | committer: Laurent Aimar
Also fix audio_sample_format_t::i_channels in aout_FormatPrepare.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e080f331c7041595affd809f8bcd253bc4c6712c
---
src/audio_output/common.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/audio_output/common.c b/src/audio_output/common.c
index 2bdece1..151bf8b 100644
--- a/src/audio_output/common.c
+++ b/src/audio_output/common.c
@@ -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 )
{
More information about the vlc-devel
mailing list