aboutsummaryrefslogtreecommitdiffstats
path: root/src/output_control.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/output_control.c')
-rw-r--r--src/output_control.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/output_control.c b/src/output_control.c
index e8dcd5d9a..16908f1b4 100644
--- a/src/output_control.c
+++ b/src/output_control.c
@@ -140,8 +140,7 @@ void audio_output_finish(struct audio_output *ao)
g_thread_join(ao->thread);
}
- if (ao->plugin->finish)
- ao->plugin->finish(ao->data);
+ ao_plugin_finish(ao->plugin, ao->data);
notify_deinit(&ao->notify);
}