rdesktop/rdesktop-1.8.0-libao_segfault.patch

20 lines
621 B
Diff
Raw Normal View History

diff -Nru rdesktop-1.8.0.orig/rdpsnd_libao.c rdesktop-1.8.0/rdpsnd_libao.c
--- rdesktop-1.8.0.orig/rdpsnd_libao.c 2013-06-20 14:56:16.000000000 +0200
+++ rdesktop-1.8.0/rdpsnd_libao.c 2013-08-10 11:09:23.771448960 +0200
@@ -77,6 +77,7 @@
format.channels = 2;
format.rate = 44100;
format.byte_format = AO_FMT_NATIVE;
+ format.matrix = NULL;
o_device = ao_open_live(default_driver, &format, NULL);
if (o_device == NULL)
@@ -115,6 +116,7 @@
format.channels = pwfx->nChannels;
format.rate = 44100;
format.byte_format = AO_FMT_NATIVE;
+ format.matrix = NULL;
if (o_device != NULL)
ao_close(o_device);