diff options
author | wm4 <wm4@mplayer2.org> | 2011-12-26 02:23:51 +0100 |
---|---|---|
committer | wm4 <wm4@mplayer2.org> | 2012-01-18 04:21:45 +0100 |
commit | d1b38a8a371d13ce59b2d1b4152f0252ac8d8b4c (patch) | |
tree | 34aa4affb7802bf05be658e914ab916dfb500136 /mplayer.c | |
parent | 7eac60417f3a6714675e862a8a1612d1edf183fc (diff) | |
download | mpv-d1b38a8a371d13ce59b2d1b4152f0252ac8d8b4c.tar.bz2 mpv-d1b38a8a371d13ce59b2d1b4152f0252ac8d8b4c.tar.xz |
audio: fix crash when exiting file when mute is enabled
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |