diff options
author | Thibaut Mattern <tmattern@users.sourceforge.net> | 2002-11-11 23:41:25 +0000 |
---|---|---|
committer | Thibaut Mattern <tmattern@users.sourceforge.net> | 2002-11-11 23:41:25 +0000 |
commit | a125ccea11e2f44a4519953af67ee622e82a8519 (patch) | |
tree | ffd8b5865695710cc752c91ba5b8f9b5d66d30f4 | |
parent | 388c2461165823b0f30bf1596db8d96f41089a1e (diff) | |
download | xine-lib-a125ccea11e2f44a4519953af67ee622e82a8519.tar.gz xine-lib-a125ccea11e2f44a4519953af67ee622e82a8519.tar.bz2 |
A try to fix ao_flush() loop
CVS patchset: 3243
CVS date: 2002/11/11 23:41:25
-rw-r--r-- | src/xine-engine/audio_out.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xine-engine/audio_out.c b/src/xine-engine/audio_out.c index d38a717ae..4f07c6ad5 100644 --- a/src/xine-engine/audio_out.c +++ b/src/xine-engine/audio_out.c @@ -17,7 +17,7 @@ * along with self program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: audio_out.c,v 1.77 2002/11/07 22:39:55 heikos Exp $ + * $Id: audio_out.c,v 1.78 2002/11/11 23:41:25 tmattern Exp $ * * 22-8-2001 James imported some useful AC3 sections from the previous alsa driver. * (c) 2001 Andy Lo A Foe <andy@alsaplayer.org> @@ -981,7 +981,7 @@ static void ao_flush (ao_instance_t *this) { num_buffers = this->out_fifo->num_buffers; printf ("audio_out: flush fifo (%d buffers)\n", num_buffers); - for (i = 0; i < this->out_fifo->num_buffers; i++) { + for (i = 0; i < num_buffers; i++) { buf = fifo_remove_int (this->out_fifo); fifo_append_int (this->free_fifo, buf); } |