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:
anders 2002-03-12 06:32:02 +00:00
parent 915dfd1312
commit 1836f48c61
1 changed files with 2 additions and 0 deletions

View File

@ -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)