# HG changeset patch # User albeu # Date 1048797954 0 # Node ID b320a02fa57bc970f1079f72f2ee2c6db844ecc6 # Parent f7295ec4fb17fd0db3804adf0315f410880afdb3 Switch to the new config header Fix the chapter==0 bug when playing a list of title diff -r f7295ec4fb17 -r b320a02fa57b libmpdemux/open.c --- 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 #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