pkgsrc/multimedia/xine-lib/patches/patch-ai
jmmv 1f5756eb29 Update to 1.0.3a. Man... I hate this package in its actual form... it's
completely unmaintenable.

Changes:
* fixed format string vulnerability in audio CD input plugin
* some build system fixes for Windows
2005-10-13 10:48:01 +00:00

14 lines
507 B
Text

$NetBSD: patch-ai,v 1.2 2005/10/13 10:48:01 jmmv Exp $
--- src/xine-engine/audio_out.c.orig 2005-10-08 15:57:49.000000000 +0200
+++ src/xine-engine/audio_out.c
@@ -2103,7 +2103,9 @@ xine_audio_port_t *_x_ao_new_port (xine_
this->audio_loop_running = 1;
pthread_attr_init(&pth_attrs);
+#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING
pthread_attr_setscope(&pth_attrs, PTHREAD_SCOPE_SYSTEM);
+#endif
this->audio_thread_created = 1;
if ((err = pthread_create (&this->audio_thread,