[Mplayer-cvslog] CVS: main/libmpdemux demuxer.c,1.126,1.127

Filip Kalinski CVS filon at mplayerhq.hu
Mon Jan 6 15:55:01 CET 2003


Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv775/libmpdemux

Modified Files:
	demuxer.c 
Log Message:
10l (was segfaulting on non-dv file)


Index: demuxer.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demuxer.c,v
retrieving revision 1.126
retrieving revision 1.127
diff -u -r1.126 -r1.127
--- demuxer.c	22 Dec 2002 21:01:01 -0000	1.126
+++ demuxer.c	6 Jan 2003 14:54:36 -0000	1.127
@@ -846,8 +846,10 @@
       mp_msg(MSGT_DEMUXER,MSGL_INFO,MSGTR_Detected_XXX_FileFormat,"RAWDV");
       file_format=DEMUXER_TYPE_RAWDV;
    }
-   else
+   else {
       free_demuxer(demuxer);
+      demuxer=NULL;
+   }
 }
 #endif
 //=============== Try to open as audio file: =================



More information about the MPlayer-cvslog mailing list