diff options
author | wm4 <wm4@nowhere> | 2015-06-15 20:28:05 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-06-15 20:28:05 +0200 |
commit | 82ff32ffacce992feeb2cea6eb83904f4ff4e038 (patch) | |
tree | e51a52eaa1403d2471a2d6ce0c36a0baddf4dc9a /audio | |
parent | 30f5ba9422680a543c477d82e9a66ea91488665c (diff) | |
download | mpv-82ff32ffacce992feeb2cea6eb83904f4ff4e038.tar.bz2 mpv-82ff32ffacce992feeb2cea6eb83904f4ff4e038.tar.xz |
audio: fix crash on uninit
Shit.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/decode/dec_audio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/decode/dec_audio.c b/audio/decode/dec_audio.c index 19d2c4e3df..edf26951f7 100644 --- a/audio/decode/dec_audio.c +++ b/audio/decode/dec_audio.c @@ -157,8 +157,8 @@ void audio_uninit(struct dec_audio *d_audio) if (!d_audio) return; MP_VERBOSE(d_audio, "Uninit audio filters...\n"); - af_destroy(d_audio->afilter); uninit_decoder(d_audio); + af_destroy(d_audio->afilter); talloc_free(d_audio->waiting); talloc_free(d_audio); } |