pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/xine-lib Fix uninitialized mutexes in the "aa...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/08c5e17901c2
branches:  trunk
changeset: 462613:08c5e17901c2
user:      mycroft <mycroft%pkgsrc.org@localhost>
date:      Mon Oct 06 07:21:57 2003 +0000

description:
Fix uninitialized mutexes in the "aa" and "none" output plugins.

diffstat:

 graphics/xine-lib/distinfo         |   4 +++-
 graphics/xine-lib/patches/patch-ar |  13 +++++++++++++
 graphics/xine-lib/patches/patch-as |  13 +++++++++++++
 3 files changed, 29 insertions(+), 1 deletions(-)

diffs (49 lines):

diff -r ed525d2cd201 -r 08c5e17901c2 graphics/xine-lib/distinfo
--- a/graphics/xine-lib/distinfo        Mon Oct 06 07:11:19 2003 +0000
+++ b/graphics/xine-lib/distinfo        Mon Oct 06 07:21:57 2003 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2003/10/06 04:52:06 mycroft Exp $
+$NetBSD: distinfo,v 1.13 2003/10/06 07:21:57 mycroft Exp $
 
 SHA1 (xine-lib-1-rc0a.tar.gz) = ee41ba602179a9f02208a15e3dff36a1dfa00fac
 Size (xine-lib-1-rc0a.tar.gz) = 4211552 bytes
@@ -18,3 +18,5 @@
 SHA1 (patch-ao) = 53de6febfed214e9e43d53e3e5b83af1fcb19b20
 SHA1 (patch-ap) = 7bb70f8d5cee7787e831649cb746d21000a357fc
 SHA1 (patch-aq) = ec5707d3b7b69912342afc7bef3e8cd182c75ded
+SHA1 (patch-ar) = 3ca0dd7be3e94d3c302299efc706af27f8faf1c1
+SHA1 (patch-as) = 3f0825d62844e5dba66c97ddac515653d07e85d8
diff -r ed525d2cd201 -r 08c5e17901c2 graphics/xine-lib/patches/patch-ar
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/xine-lib/patches/patch-ar        Mon Oct 06 07:21:57 2003 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ar,v 1.1 2003/10/06 07:21:57 mycroft Exp $
+
+--- src/video_out/video_out_aa.c.orig  2003-07-13 19:29:04.000000000 +0000
++++ src/video_out/video_out_aa.c       2003-10-06 07:16:39.000000000 +0000
+@@ -109,6 +109,8 @@
+   frame = (aa_frame_t *) malloc (sizeof (aa_frame_t));
+   memset (frame, 0, sizeof (aa_frame_t));
+ 
++  pthread_mutex_init (&frame->vo_frame.mutex, NULL);
++
+   frame->vo_frame.copy = NULL;
+   frame->vo_frame.field = aa_frame_field;
+   frame->vo_frame.dispose = aa_dispose_frame;
diff -r ed525d2cd201 -r 08c5e17901c2 graphics/xine-lib/patches/patch-as
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/xine-lib/patches/patch-as        Mon Oct 06 07:21:57 2003 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-as,v 1.1 2003/10/06 07:21:57 mycroft Exp $
+
+--- src/video_out/video_out_none.c.orig        2003-07-13 19:29:04.000000000 +0000
++++ src/video_out/video_out_none.c     2003-10-06 07:16:41.000000000 +0000
+@@ -95,6 +95,8 @@
+     abort();
+   }
+   
++  pthread_mutex_init (&frame->vo_frame.mutex, NULL);
++
+   frame->vo_frame.base[0] = NULL;
+   frame->vo_frame.base[1] = NULL;
+   frame->vo_frame.base[2] = NULL;



Home | Main Index | Thread Index | Old Index