2013-09-26 17:14:40 +02:00

15 lines
459 B
Plaintext

$NetBSD: patch-aa,v 1.11 2010/11/09 13:13:03 adam Exp $
--- ogg123/buffer.c.orig 2010-03-24 08:10:47.000000000 +0000
+++ ogg123/buffer.c
@@ -429,7 +429,9 @@ void buffer_reset (buf_t *buf)
/* Cleanup pthread variables */
pthread_mutex_destroy(&buf->mutex);
+ COND_SIGNAL(buf->write_cond);
pthread_cond_destroy(&buf->write_cond);
+ COND_SIGNAL(buf->playback_cond);
pthread_cond_destroy(&buf->playback_cond);
/* Reinit pthread variables */