From cad4e2c1fbe3d09073ebca775b6b999dfffd5155 Mon Sep 17 00:00:00 2001 From: Juergen Keil Date: Sat, 14 Dec 2002 16:33:59 +0000 Subject: 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 --- src/xine-engine/audio_out.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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 @@ -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--; -- cgit v1.2.3