aboutsummaryrefslogtreecommitdiffstats
path: root/src/output
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-10-29 15:58:18 +0100
committerMax Kellermann <max@duempel.org>2009-10-29 15:58:18 +0100
commit82af1612100284adbb3d06a879b4eaa5507604ab (patch)
treed5015c2434ace7eaa08e039a10faef725d30c4d0 /src/output
parent9fed97b1f1eb6af0d5121e00095fac1e9db03262 (diff)
downloadmpd-82af1612100284adbb3d06a879b4eaa5507604ab.tar.gz
mpd-82af1612100284adbb3d06a879b4eaa5507604ab.tar.xz
mpd-82af1612100284adbb3d06a879b4eaa5507604ab.zip
output/pulse: initialize pulse_output.mixer
This variable was uninitialized and led to crashes.
Diffstat (limited to '')
-rw-r--r--src/output/pulse_output_plugin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/output/pulse_output_plugin.c b/src/output/pulse_output_plugin.c
index 49f38369a..13e1b6624 100644
--- a/src/output/pulse_output_plugin.c
+++ b/src/output/pulse_output_plugin.c
@@ -274,6 +274,7 @@ pulse_output_init(G_GNUC_UNUSED const struct audio_format *audio_format,
po->server = config_get_block_string(param, "server", NULL);
po->sink = config_get_block_string(param, "sink", NULL);
+ po->mixer = NULL;
po->mainloop = NULL;
po->context = NULL;
po->stream = NULL;