aboutsummaryrefslogtreecommitdiffstats
path: root/src
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 /src
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 'src')
-rw-r--r--src/output_init.c1
1 files changed, 1 insertions, 0 deletions
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);