changeset 8023:3738cc2269a3

get stream back from the demuxer
author arpi
date Fri, 01 Nov 2002 16:10:15 +0000
parents 6ec749d1b87e
children 13e08eff5f90
files mplayer.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Fri Nov 01 11:14:23 2002 +0000
+++ b/mplayer.c	Fri Nov 01 16:10:15 2002 +0000
@@ -301,7 +301,10 @@
   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;
   }