From d3bfc447c1cd1e031e7fb0dc8934e5edb67c77e2 Mon Sep 17 00:00:00 2001 From: albeu Date: Thu, 27 Mar 2003 20:45:54 +0000 Subject: Switch to the new config header Fix the chapter==0 bug when playing a list of title git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9713 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/open.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libmpdemux') diff --git a/libmpdemux/open.c b/libmpdemux/open.c index 111e256b67..83bab2c35f 100644 --- a/libmpdemux/open.c +++ b/libmpdemux/open.c @@ -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 @@ void dvd_close(dvd_priv_t *d) { ifoClose(d->vmg_file); DVDCloseFile(d->title); DVDClose(d->dvd); + dvd_chapter = 1; + dvd_last_chapter = 0; } #endif -- cgit v1.2.3