From cf8d278b78d7deed1d23fc1c7cfc6bce4e189a41 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 29 Oct 2009 15:58:21 +0100 Subject: output_thread: removed redundant filter_close() call Don't call filter_close() right after ao_close(). --- src/output_thread.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/output_thread.c') 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; -- cgit v1.2.3