output_init: initialize the "pause" flag

Fix stuttering due to uninitialized variable.
This commit is contained in:
Max Kellermann 2009-08-18 11:32:54 +02:00
parent 48a80d0b85
commit fd8aa54a90
2 changed files with 3 additions and 0 deletions

2
NEWS
View File

@ -1,4 +1,6 @@
ver 0.15.3 (2009/??/??) ver 0.15.3 (2009/??/??)
* output:
- fix stuttering due to uninitialized variable
ver 0.15.2 (2009/08/15) ver 0.15.2 (2009/08/15)

View File

@ -109,6 +109,7 @@ audio_output_init(struct audio_output *ao, const struct config_param *param,
ao->plugin = plugin; ao->plugin = plugin;
ao->enabled = config_get_block_bool(param, "enabled", true); ao->enabled = config_get_block_bool(param, "enabled", true);
ao->open = false; ao->open = false;
ao->pause = false;
ao->fail_timer = NULL; ao->fail_timer = NULL;
pcm_convert_init(&ao->convert_state); pcm_convert_init(&ao->convert_state);