blob: 002aac2dbc72d9caa9e4f8c010df9bfe9b1104b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$NetBSD: patch-aa,v 1.10 2008/03/14 18:55:54 wiz Exp $
--- ogg123/buffer.c.orig 2008-03-03 05:37:26.000000000 +0000
+++ ogg123/buffer.c
@@ -419,7 +419,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 */
|