summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuergen Keil <jkeil@users.sourceforge.net>2002-12-14 16:33:59 +0000
committerJuergen Keil <jkeil@users.sourceforge.net>2002-12-14 16:33:59 +0000
commitcad4e2c1fbe3d09073ebca775b6b999dfffd5155 (patch)
treeb605044bb56fe9af1f7e41ef7a805ebf8123df13
parent622080e96f75ce74993dfe6049724fc1792b4b7b (diff)
downloadxine-lib-cad4e2c1fbe3d09073ebca775b6b999dfffd5155.tar.gz
xine-lib-cad4e2c1fbe3d09073ebca775b6b999dfffd5155.tar.bz2
The solaris pthread_cond_init() man page tells me:
Attempting to initialize an already initialized condition variable results in undefined behavior. fifo->not_empty was initialized in fifo_new(); there should be no need to re-initialize it in fifo_remove_int().. CVS patchset: 3519 CVS date: 2002/12/14 16:33:59
-rw-r--r--src/xine-engine/audio_out.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/xine-engine/audio_out.c b/src/xine-engine/audio_out.c
index 370fa3012..8693a9678 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.88 2002/12/14 16:17:57 jkeil Exp $
+ * $Id: audio_out.c,v 1.89 2002/12/14 16:33:59 jkeil Exp $
*
* 22-8-2001 James imported some useful AC3 sections from the previous alsa driver.
* (c) 2001 Andy Lo A Foe <andy@alsaplayer.org>
@@ -183,7 +183,6 @@ static audio_buffer_t *fifo_remove_int (audio_fifo_t *fifo) {
fifo->last = NULL;
fifo->num_buffers = 0;
- pthread_cond_init (&fifo->not_empty, NULL);
} else
fifo->num_buffers--;