mirror of https://github.com/mpv-player/mpv
Revert sh_audio->wf freeing.
Freeing should be done elsewhere, as it prevents second codec to access the same structure. Reported by elupus at ecce.se git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14528 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
31ef56337b
commit
21dd8f38b9
|
@ -252,8 +252,6 @@ void uninit_audio(sh_audio_t *sh_audio)
|
||||||
sh_audio->a_buffer=NULL;
|
sh_audio->a_buffer=NULL;
|
||||||
if(sh_audio->a_in_buffer) free(sh_audio->a_in_buffer);
|
if(sh_audio->a_in_buffer) free(sh_audio->a_in_buffer);
|
||||||
sh_audio->a_in_buffer=NULL;
|
sh_audio->a_in_buffer=NULL;
|
||||||
if(sh_audio->wf) free(sh_audio->wf);
|
|
||||||
sh_audio->wf=NULL;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Init audio filters */
|
/* Init audio filters */
|
||||||
|
|
Loading…
Reference in New Issue