1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-18 21:06:00 +00:00

get stream back from the demuxer

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8024 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2002-11-01 16:10:15 +00:00
parent b7226c6c30
commit 0dd7124134

View File

@ -301,7 +301,10 @@ static void uninit_player(unsigned int mask){
if(mask&INITED_DEMUXER){
inited_flags&=~INITED_DEMUXER;
current_module="free_demuxer";
if(demuxer) free_demuxer(demuxer);
if(demuxer){
stream=demuxer->stream;
free_demuxer(demuxer);
}
demuxer=NULL;
}