openbsd-ports/multimedia/xine-lib/patches/patch-src_xine-engine_video_out_c
brad 33f483f736 upgrade to xine-lib 1.1.2
* Security fixes:
  - CVE-2006-2802: possible buffer overflow in the HTTP plugin.
  - possible buffer overflow via bad indexes in specially-crafted AVI files
* Fix a potential crash with fixed-size lacing in the Matroska demuxer
* Enable AMD64 mmx/sse support in some plugins (tvtime, libmpeg2, goom...)
* Fix xxmc subpictures (broken since 1.1.1)
* Add support for RealPlayer 10 codecs

WANTLIB tweak from bernd@

testing by steven@ and bernd@
2006-10-12 04:48:14 +00:00

14 lines
552 B
Plaintext

$OpenBSD: patch-src_xine-engine_video_out_c,v 1.2 2006/10/12 04:48:14 brad Exp $
--- src/xine-engine/video_out.c.orig Fri Mar 24 20:26:34 2006
+++ src/xine-engine/video_out.c Fri Sep 15 17:53:21 2006
@@ -1848,7 +1848,9 @@ xine_video_port_t *_x_vo_new_port (xine_
this->grab_only = 0;
pthread_attr_init(&pth_attrs);
+#if !defined(__OpenBSD__)
pthread_attr_setscope(&pth_attrs, PTHREAD_SCOPE_SYSTEM);
+#endif
if ((err = pthread_create (&this->video_thread,
&pth_attrs, video_out_loop, this)) != 0) {