aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-08-18 11:32:54 +0200
committerMax Kellermann <max@duempel.org>2009-08-18 11:32:54 +0200
commitfd8aa54a90c7e18ab4ff3e4be7bc40e2c475839f (patch)
tree4afcee3624d9f98d5f8dd947c45d780967df666f
parent48a80d0b859cf77d1eeca62589bab9be7c2ee9a8 (diff)
downloadmpd-fd8aa54a90c7e18ab4ff3e4be7bc40e2c475839f.tar.gz
mpd-fd8aa54a90c7e18ab4ff3e4be7bc40e2c475839f.tar.xz
mpd-fd8aa54a90c7e18ab4ff3e4be7bc40e2c475839f.zip
output_init: initialize the "pause" flag
Fix stuttering due to uninitialized variable.
Diffstat (limited to '')
-rw-r--r--NEWS2
-rw-r--r--src/output_init.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 15c3ec00e..324f054e1 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,6 @@
ver 0.15.3 (2009/??/??)
+* output:
+ - fix stuttering due to uninitialized variable
ver 0.15.2 (2009/08/15)
diff --git a/src/output_init.c b/src/output_init.c
index 04609bb76..927424324 100644
--- a/src/output_init.c
+++ b/src/output_init.c
@@ -109,6 +109,7 @@ audio_output_init(struct audio_output *ao, const struct config_param *param,
ao->plugin = plugin;
ao->enabled = config_get_block_bool(param, "enabled", true);
ao->open = false;
+ ao->pause = false;
ao->fail_timer = NULL;
pcm_convert_init(&ao->convert_state);