1000l to pl, this made mplayer crash when playing playlists longer

than 2 entries. I'm too lazy to debug so I'm just reverting the code.
Someone who cares about the memleak can fix it properly.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10998 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
rfelker 2003-10-04 01:24:50 +00:00
parent d3da4193df
commit 0c9ecbc6a4
1 changed files with 2 additions and 2 deletions

View File

@ -1271,11 +1271,11 @@ if(!use_stdin && !slave_mode){
stream=NULL;
demuxer=NULL;
if (d_audio) {
free_demuxer_stream(d_audio);
//free_demuxer_stream(d_audio);
d_audio=NULL;
}
if (d_video) {
free_demuxer_stream(d_video);
//free_demuxer_stream(d_video);
d_video=NULL;
}
sh_audio=NULL;