summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mplayer.c b/mplayer.c
index 6b57c695e6..8f635576c3 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -719,6 +719,7 @@ void uninit_player(struct MPContext *mpctx, unsigned int mask)
if (mpctx->ao)
ao_uninit(mpctx->ao, mpctx->stop_play != AT_END_OF_FILE);
mpctx->ao = NULL;
+ mpctx->mixer.ao = NULL;
}
current_module = NULL;