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

nicodvb subversion at mplayerhq.hu
Sat Jul 14 13:29:04 CEST 2007


Author: nicodvb
Date: Sat Jul 14 13:29:04 2007
New Revision: 950

Log:
a beauty mask

Modified:
   trunk/libdvdnav2/src/searching.c

Modified: trunk/libdvdnav2/src/searching.c
==============================================================================
--- trunk/libdvdnav2/src/searching.c	(original)
+++ trunk/libdvdnav2/src/searching.c	Sat Jul 14 13:29:04 2007
@@ -75,16 +75,13 @@ static dvdnav_status_t dvdnav_scan_admap
 
       /* fprintf(MSG_OUT, "libdvdnav: Found block %u\n", next_vobu); */
 
-      if(vobu_start <= seekto_block &&
-          next_vobu > seekto_block) {
+      if(vobu_start <= seekto_block && next_vobu > seekto_block)
         break;
-      } else {
-        vobu_start = next_vobu;
-      }
-      address ++;
+      vobu_start = next_vobu;
+      address++;
     }
-      *vobu = vobu_start;
-      return DVDNAV_STATUS_OK;
+    *vobu = vobu_start;
+    return DVDNAV_STATUS_OK;
   }
   fprintf(MSG_OUT, "libdvdnav: admap not located\n");
   return DVDNAV_STATUS_ERR;



More information about the DVDnav-discuss mailing list