return 1;
}
+
+/***********************************************************************
+ * is_nav_pack
+ ***********************************************************************
+ * Pretty much directly lifted from libdvdread's play_title function.
+ **********************************************************************/
+int is_nav_pack( unsigned char *buf )
+{
+ return ( buf[41] == 0xbf && buf[1027] == 0xbf );
+}
+
+
/***********************************************************************
* hb_dvd_read
***********************************************************************
return 0;
}
+ if ( !is_nav_pack( b->data ) ) {
+ (d->next_vobu)++;
+ continue;
+ }
+
navRead_DSI( &dsi_pack, &b->data[DSI_START_BYTE] );
block = dsi_pack.dsi_gi.nv_pck_lbn;