From d1b38a8a371d13ce59b2d1b4152f0252ac8d8b4c Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 26 Dec 2011 02:23:51 +0100 Subject: audio: fix crash when exiting file when mute is enabled --- mplayer.c | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.2.3