Commit cf8d278b authored by Max Kellermann's avatar Max Kellermann

output_thread: removed redundant filter_close() call

Don't call filter_close() right after ao_close().
parent 82af1612
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment