aboutsummaryrefslogtreecommitdiffstats
path: root/src/output
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-10-29 15:58:21 +0100
committerMax Kellermann <max@duempel.org>2009-10-29 15:58:21 +0100
commitcf8d278b78d7deed1d23fc1c7cfc6bce4e189a41 (patch)
tree1eb3cb70dcbbe2c2fe46ce2964802f4711d5aeeb /src/output
parent82af1612100284adbb3d06a879b4eaa5507604ab (diff)
downloadmpd-cf8d278b78d7deed1d23fc1c7cfc6bce4e189a41.tar.gz
mpd-cf8d278b78d7deed1d23fc1c7cfc6bce4e189a41.tar.xz
mpd-cf8d278b78d7deed1d23fc1c7cfc6bce4e189a41.zip
output_thread: removed redundant filter_close() call
Don't call filter_close() right after ao_close().
Diffstat (limited to '')
-rw-r--r--src/output_thread.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/output_thread.c b/src/output_thread.c
index 4bae2f162..f1af81a37 100644
--- a/src/output_thread.c
+++ b/src/output_thread.c
@@ -385,12 +385,8 @@ static gpointer audio_output_task(gpointer arg)
assert(ao->open);
assert(ao->pipe != NULL);
- ao->pipe = NULL;
- ao->chunk = NULL;
-
ao_plugin_cancel(ao->plugin, ao->data);
ao_close(ao);
- filter_close(ao->filter);
ao_command_finished(ao);
break;