mirror of https://github.com/mpv-player/mpv
Bugfix for sig11 when playing multiple files
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5051 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
915dfd1312
commit
1836f48c61
|
@ -186,8 +186,10 @@ static void uninit(){
|
|||
plugin(i++)->uninit();
|
||||
if(ao_plugin_local_data.plugins)
|
||||
free(ao_plugin_local_data.plugins);
|
||||
ao_plugin_local_data.plugins=NULL;
|
||||
if(ao_plugin_local_data.buf)
|
||||
free(ao_plugin_local_data.buf);
|
||||
ao_plugin_local_data.buf=NULL;
|
||||
}
|
||||
|
||||
// stop playing and empty buffers (for seeking/pause)
|
||||
|
|
Loading…
Reference in New Issue