[vlc-commits] waveout: remove write-only variable

Rémi Denis-Courmont git at videolan.org
Thu Mar 22 18:14:50 CET 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Mar 22 19:03:03 2012 +0200| [983d967b2b533fe26c5bea64a94b7d3f9a657518] | committer: Rémi Denis-Courmont

waveout: remove write-only variable

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

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

diff --git a/modules/audio_output/waveout.c b/modules/audio_output/waveout.c
index f5a1975..9de9a90 100644
--- a/modules/audio_output/waveout.c
+++ b/modules/audio_output/waveout.c
@@ -880,7 +880,6 @@ static void* WaveOutThread( void *data )
     int i, i_queued_frames;
     bool b_sleek;
     mtime_t next_date;
-    uint32_t i_buffer_length = 64;
     int canc = vlc_savecancel ();
 
     /* We don't want any resampling when using S/PDIF */
@@ -952,7 +951,6 @@ static void* WaveOutThread( void *data )
                 {
                     mtime_t buffer_length = p_buffer->i_length;
                     next_date = next_date + buffer_length;
-                    i_buffer_length = buffer_length/1000;
                 }
 
                 /* Do the channel reordering */



More information about the vlc-commits mailing list