changeset 39:2433a5a8069e src

First draft of removing HAVE_DVDREAD9
author richwareham
date Thu, 30 May 2002 23:15:14 +0000
parents 0d3b83b39f2c
children a049c3753f32
files dvdnav.c
diffstat 1 files changed, 3 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/dvdnav.c	Thu May 30 19:25:08 2002 +0000
+++ b/dvdnav.c	Thu May 30 23:15:14 2002 +0000
@@ -383,11 +383,7 @@
  *   printf("\n");
  */
     if(p[0] == 0x00) {
-#ifdef HAVE_DVDREAD9
       navRead_PCI(nav_pci, p+1);
-#else
-      navRead_PCI(nav_pci, p+1, nPacketLen - 1);
-#endif
     }
 
     p += nPacketLen;
@@ -397,11 +393,7 @@
       nPacketLen = p[4] << 8 | p[5];
       p += 6;
       /* dprint("NAV DSI packet\n");  */
-#ifdef HAVE_DVDREAD9
       navRead_DSI(nav_dsi, p+1);
-#else
-      navRead_DSI(nav_dsi, p+1, sizeof(dsi_t));
-#endif
 
     } 
     return 1;
@@ -937,6 +929,9 @@
 
 /*
  * $Log$
+ * Revision 1.19  2002/05/30 23:15:14  richwareham
+ * First draft of removing HAVE_DVDREAD9
+ *
  * Revision 1.18  2002/05/30 09:52:29  richwareham
  * 'Objectified' the read-ahead cache in preparation to implement a 'proper' threaded cache a-la that recommended in the DVD Demystified book.
  *