diff dvdnav.c @ 217:eb503714e1c2 src

these variables are not needed any more
author mroi
date Wed, 31 Dec 2003 16:56:12 +0000
parents 373f27da196b
children 065a2835ba90
line wrap: on
line diff
--- a/dvdnav.c	Fri Nov 14 18:55:52 2003 +0000
+++ b/dvdnav.c	Wed Dec 31 16:56:12 2003 +0000
@@ -46,8 +46,6 @@
 
   if (this->file) DVDCloseFile(this->file);
   this->file = NULL;
-  this->open_vtsN = -1;
-  this->open_domain = -1;
 
   memset(&this->pci,0,sizeof(this->pci));
   memset(&this->dsi,0,sizeof(this->dsi));
@@ -231,7 +229,7 @@
 
 /*
  * Returns 1 if block contains NAV packet, 0 otherwise.
- * Precesses said NAV packet if present.
+ * Processes said NAV packet if present.
  *
  * Most of the code in here is copied from xine's MPEG demuxer
  * so any bugs which are found in that should be corrected here also.
@@ -522,8 +520,8 @@
       this->file = NULL;
     }
 
-    vts_event->old_vtsN = this->open_vtsN;
-    vts_event->old_domain = this->open_domain;
+    vts_event->old_vtsN = this->position_current.vts;
+    vts_event->old_domain = this->position_current.domain;
      
     /* Use the DOMAIN to find whether to open menu or title VOBs */
     switch(this->position_next.domain) {