summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2002-11-12 17:55:48 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2002-11-12 17:55:48 +0000
commit1083056bd34700d1b21171cabf507eab1620be27 (patch)
treecdc24977c3b4df017935dae0fc24fca125860103
parentfa00cc846392131826806144ad71d194370c6321 (diff)
downloadxine-lib-1083056bd34700d1b21171cabf507eab1620be27.tar.gz
xine-lib-1083056bd34700d1b21171cabf507eab1620be27.tar.bz2
even more agressive consistency checking
CVS patchset: 3249 CVS date: 2002/11/12 17:55:48
-rw-r--r--src/xine-engine/audio_out.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xine-engine/audio_out.c b/src/xine-engine/audio_out.c
index 194d724bd..f0c932e21 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.80 2002/11/12 16:52:33 guenter Exp $
+ * $Id: audio_out.c,v 1.81 2002/11/12 17:55:48 guenter Exp $
*
* 22-8-2001 James imported some useful AC3 sections from the previous alsa driver.
* (c) 2001 Andy Lo A Foe <andy@alsaplayer.org>
@@ -139,7 +139,9 @@ static audio_fifo_t *fifo_new () {
static void fifo_append_int (audio_fifo_t *fifo,
audio_buffer_t *buf) {
- buf->next = NULL;
+ /* buf->next = NULL; */
+
+ assert (!buf->next);
if (!fifo->first) {
@@ -160,8 +162,6 @@ static void fifo_append_int (audio_fifo_t *fifo,
static void fifo_append (audio_fifo_t *fifo,
audio_buffer_t *buf) {
- assert (!buf->next);
-
pthread_mutex_lock (&fifo->mutex);
fifo_append_int (fifo, buf);
pthread_mutex_unlock (&fifo->mutex);