[DVDnav-discuss] r869 - trunk/libdvdnav/src/searching.c

nicodvb subversion at mplayerhq.hu
Sat Apr 14 09:33:38 CEST 2007


Author: nicodvb
Date: Sat Apr 14 09:33:38 2007
New Revision: 869

Modified:
   trunk/libdvdnav/src/searching.c

Log:
in dvdnav_time_search() vobu and start are uint32_t

Modified: trunk/libdvdnav/src/searching.c
==============================================================================
--- trunk/libdvdnav/src/searching.c	(original)
+++ trunk/libdvdnav/src/searching.c	Sat Apr 14 09:33:38 2007
@@ -155,13 +155,13 @@ dvdnav_status_t dvdnav_time_search(dvdna
   }
 
   if(found) {
-    int32_t vobu;
+    uint32_t vobu;
 #ifdef LOG_DEBUG
     fprintf(MSG_OUT, "libdvdnav: Seeking to cell %i from choice of %i to %i\n",
 	    cell_nr, first_cell_nr, last_cell_nr);
 #endif
     if (dvdnav_scan_admap(this, state->domain, target, &vobu) == DVDNAV_STATUS_OK) {
-      int32_t start = state->pgc->cell_playback[cell_nr-1].first_sector;
+      uint32_t start = state->pgc->cell_playback[cell_nr-1].first_sector;
       
       if (vm_jump_cell_block(this->vm, cell_nr, vobu - start)) {
 #ifdef LOG_DEBUG



More information about the DVDnav-discuss mailing list