[DVDnav-discuss] r918 - trunk/libdvdnav2/src/searching.c

nicodvb subversion at mplayerhq.hu
Sun Apr 29 13:37:39 CEST 2007


Author: nicodvb
Date: Sun Apr 29 13:37:39 2007
New Revision: 918

Log:
in dvdnav_time_search() vobu and start are uint32_t

Modified:
   trunk/libdvdnav2/src/searching.c

Modified: trunk/libdvdnav2/src/searching.c
==============================================================================
--- trunk/libdvdnav2/src/searching.c	(original)
+++ trunk/libdvdnav2/src/searching.c	Sun Apr 29 13:37:39 2007
@@ -197,13 +197,13 @@ dvdnav_status_t dvdnav_sector_search(dvd
   }
 
   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