pkgsrc/multimedia/xine-lib/patches/patch-as
2006-06-26 17:13:11 +00:00

13 lines
418 B
Text

$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;