changeset 9712:b320a02fa57b

Switch to the new config header Fix the chapter==0 bug when playing a list of title
author albeu
date Thu, 27 Mar 2003 20:45:54 +0000
parents f7295ec4fb17
children c2ae0eb049dd
files libmpdemux/open.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/open.c	Thu Mar 27 20:42:19 2003 +0000
+++ b/libmpdemux/open.c	Thu Mar 27 20:45:54 2003 +0000
@@ -14,7 +14,7 @@
 #include <sys/cdrio.h>
 #endif
 
-#include "../cfgparser.h"
+#include "../m_config.h"
 #include "stream.h"
 #include "demuxer.h"
 #include "mf.h"
@@ -897,6 +897,8 @@
   ifoClose(d->vmg_file);
   DVDCloseFile(d->title);
   DVDClose(d->dvd);
+  dvd_chapter = 1;
+  dvd_last_chapter = 0;
 }
 
 #endif