summaryrefslogtreecommitdiff
path: root/multimedia/xine-lib/patches/patch-as
blob: 034689a680863464c73a0876391f33e8cee4ab93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-as,v 1.2 2004/03/11 17:26:02 jmmv Exp $

--- src/video_out/video_out_none.c.orig	2003-12-14 23:13:25.000000000 +0100
+++ src/video_out/video_out_none.c
@@ -65,6 +65,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;