]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Fix segfault with gcc 5.x
authorJörg Krause <joerg.krause@embedded.rocks>
Thu, 30 Jul 2015 06:18:15 +0000 (08:18 +0200)
committerJörg Krause <joerg.krause@embedded.rocks>
Thu, 30 Jul 2015 06:18:15 +0000 (08:18 +0200)
player.c

index 3b28eee2307a7939ddd82aef6ddf933bb379756c..8ddc32d4bca9c3be486eceabe093068629f6bf29 100644 (file)
--- a/player.c
+++ b/player.c
@@ -1106,7 +1106,7 @@ int player_play(stream_cfg *stream) {
     debug(1,"Error initialising condition variable.");
   config.output->start(sampling_rate);
 
-  size_t size = (PTHREAD_STACK_MIN + 128 * 1024);
+  size_t size = (PTHREAD_STACK_MIN + 256 * 1024);
   pthread_attr_t tattr;
   pthread_attr_init(&tattr);
   rc = pthread_attr_setstacksize(&tattr, size);