blob: 2b81ed75bccf6f01fe1a8ea2a7f8e5e1267a1ab5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$NetBSD: patch-aa,v 1.9 2003/12/08 14:43:48 wiz Exp $
--- ogg123/buffer.c.orig Mon Sep 1 22:15:19 2003
+++ ogg123/buffer.c
@@ -412,7 +412,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 */
|