blob: a603e12077547173a204ddbb25aef6d7371d7f42 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-ee,v 1.3 2007/02/07 20:04:00 drochner Exp $
--- src/xine-engine/xine.c.orig 2007-02-07 19:58:49.000000000 +0100
+++ src/xine-engine/xine.c
@@ -1544,6 +1544,9 @@ void xine_init (xine_t *this) {
/* probe for optimized memcpy or config setting */
xine_probe_fast_memcpy (this);
+ /* plugin loading might call log functions */
+ pthread_mutex_init(&this->log_lock, NULL);
+
/*
* plugins
*/
@@ -1622,7 +1625,6 @@ void xine_init (xine_t *this) {
* locks
*/
pthread_mutex_init (&this->streams_lock, NULL);
- pthread_mutex_init (&this->log_lock, NULL);
/*
* start metronom clock
|