summaryrefslogtreecommitdiff
path: root/src/xine-engine/audio_decoder.c
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2001-06-17 19:14:26 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2001-06-17 19:14:26 +0000
commit6ec159ea6275b1032a261beb808d6f56b00cdacf (patch)
treef9a19949a64f5ba821e1a9dbf538115d6647dc45 /src/xine-engine/audio_decoder.c
parent3bb197c23554eb7b5ea6803a433bbca52fe273cb (diff)
downloadxine-lib-6ec159ea6275b1032a261beb808d6f56b00cdacf.tar.gz
xine-lib-6ec159ea6275b1032a261beb808d6f56b00cdacf.tar.bz2
more engine stability fixes, pause works again
CVS patchset: 199 CVS date: 2001/06/17 19:14:26
Diffstat (limited to 'src/xine-engine/audio_decoder.c')
-rw-r--r--src/xine-engine/audio_decoder.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/xine-engine/audio_decoder.c b/src/xine-engine/audio_decoder.c
index 1dd4a021f..e7deee9ed 100644
--- a/src/xine-engine/audio_decoder.c
+++ b/src/xine-engine/audio_decoder.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: audio_decoder.c,v 1.20 2001/06/16 18:03:22 guenter Exp $
+ * $Id: audio_decoder.c,v 1.21 2001/06/17 19:14:26 guenter Exp $
*
*
* functions that implement audio decoding
@@ -41,7 +41,8 @@ void *audio_decoder_loop (void *this_gen) {
buf = this->audio_fifo->get (this->audio_fifo);
- this->cur_input_pos = buf->input_pos;
+ if (buf->input_pos)
+ this->cur_input_pos = buf->input_pos;
/*
* Call update status callback function if