diff options
Diffstat (limited to 'src/output_control.c')
-rw-r--r-- | src/output_control.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/output_control.c b/src/output_control.c index 2fc692d6b..34e51aa41 100644 --- a/src/output_control.c +++ b/src/output_control.c @@ -18,6 +18,7 @@ #include "output_control.h" #include "output_api.h" +#include "output_internal.h" #include "output_thread.h" #include "pcm_utils.h" @@ -107,7 +108,7 @@ void audio_output_finish(struct audio_output *audioOutput) if (audioOutput->thread != 0) ao_command(audioOutput, AO_COMMAND_KILL); if (audioOutput->plugin->finish) - audioOutput->plugin->finish(audioOutput); + audioOutput->plugin->finish(audioOutput->data); if (audioOutput->convBuffer) free(audioOutput->convBuffer); } |