[MPlayer-dev-eng] [PATCH] crash after dvd play-back

Andreas Hess jaska at gmx.net
Thu Dec 26 14:44:44 CET 2002


Hi!

This patch fixes a crash, that always occurs after playing a dvd
(in uninitialization).


Andreas
-------------- next part --------------
Index: libmpdemux/open.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/open.c,v
retrieving revision 1.64
diff -u -r1.64 open.c
--- libmpdemux/open.c	22 Dec 2002 21:01:01 -0000	1.64
+++ libmpdemux/open.c	26 Dec 2002 13:32:14 -0000
@@ -34,8 +34,8 @@
 int dvd_chapter=1;
 int dvd_last_chapter=0;
 int dvd_angle=1;
-char* dvd_device=NULL;
-char* cdrom_device=NULL;
+char* dvd_device=DEFAULT_DVD_DEVICE;
+char* cdrom_device=DEFAULT_CDROM_DEVICE;
 int dvd_nav=0;                  /* use libdvdnav? */
 
 #ifdef USE_DVDNAV


More information about the MPlayer-dev-eng mailing list