summaryrefslogtreecommitdiff
path: root/multimedia/xine-lib/patches/patch-as
blob: 98592e701c1b5b333bf9ef6708776a36e058c13c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-as,v 1.3 2006/06/26 17:13:11 wiz Exp $

--- src/video_out/video_out_none.c.orig	2004-09-22 20:29:15.000000000 +0000
+++ src/video_out/video_out_none.c
@@ -64,6 +64,8 @@ typedef struct {
 
 
 static void free_framedata(none_frame_t* frame) {
+  pthread_mutex_init (&frame->vo_frame.mutex, NULL);
+
   if(frame->vo_frame.base[0]) {
     free(frame->vo_frame.base[0]);
     frame->vo_frame.base[0] = NULL;