changeset 24913:38f25bdb3cbc

We support gcc 2.95 (fixes r24928).
author cehoyos
date Fri, 02 Nov 2007 23:45:57 +0000
parents 384aa7179c9c
children 183a505c03d9
files mplayer.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Fri Nov 02 23:05:51 2007 +0000
+++ b/mplayer.c	Fri Nov 02 23:45:57 2007 +0000
@@ -1557,6 +1557,7 @@
 // ao so far.
 static double written_audio_pts(sh_audio_t *sh_audio, demux_stream_t *d_audio)
 {
+    double buffered_output;
     // first calculate the end pts of audio that has been output by decoder
     double a_pts = sh_audio->pts;
     if (a_pts != MP_NOPTS_VALUE)
@@ -1590,7 +1591,7 @@
     a_pts -= sh_audio->a_buffer_len / (double)sh_audio->o_bps;
 
     // Data buffered in audio filters, measured in bytes of "missing" output
-    double buffered_output = af_calc_delay(sh_audio->afilter);
+    buffered_output = af_calc_delay(sh_audio->afilter);
 
     // Data that was ready for ao but was buffered because ao didn't fully
     // accept everything to internal buffers yet