From 0dd7124134c40bb9a28c8925199ea88f8cbf8dee Mon Sep 17 00:00:00 2001 From: arpi Date: Fri, 1 Nov 2002 16:10:15 +0000 Subject: [PATCH] get stream back from the demuxer git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8024 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mplayer.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mplayer.c b/mplayer.c index 9054051205..81532d7828 100644 --- a/mplayer.c +++ b/mplayer.c @@ -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; }