[vlc-commits] auhal: compilation fix

Felix Paul Kühne git at videolan.org
Mon Jul 25 19:31:31 CEST 2011


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Jul 25 19:31:27 2011 +0200| [8aebaee4016a27d98de19f019cc06751422ceb55] | committer: Felix Paul Kühne

auhal: compilation fix

untested, since the affected code is part of the S/PDIF handling

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8aebaee4016a27d98de19f019cc06751422ceb55
---

 modules/audio_output/auhal.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/audio_output/auhal.c b/modules/audio_output/auhal.c
index e501620..de3944a 100644
--- a/modules/audio_output/auhal.c
+++ b/modules/audio_output/auhal.c
@@ -781,7 +781,7 @@ static int OpenSPDIF( audio_output_t * p_aout )
         p_aout->format.i_format = VLC_CODEC_SPDIFL;
     p_aout->format.i_bytes_per_frame = AOUT_SPDIF_SIZE;
     p_aout->format.i_frame_length = A52_FRAME_NB;
-    p_aout->format.i_nb_samples = p_aout->format.i_frame_length;
+    p_aout->i_nb_samples = p_aout->format.i_frame_length;
     p_aout->format.i_rate = (unsigned int)p_sys->stream_format.mSampleRate;
     aout_FormatPrepare( &p_aout->format );
     aout_VolumeNoneInit( p_aout );



More information about the vlc-commits mailing list