[xiph-commits] r15294 - trunk/cdparanoia

xiphmont at svn.xiph.org xiphmont at svn.xiph.org
Thu Sep 11 04:30:05 PDT 2008


Author: xiphmont
Date: 2008-09-11 04:30:05 -0700 (Thu, 11 Sep 2008)
New Revision: 15294

Modified:
   trunk/cdparanoia/cachetest.c
Log:
Same improvement to cache rollbehind test


Modified: trunk/cdparanoia/cachetest.c
===================================================================
--- trunk/cdparanoia/cachetest.c	2008-09-11 11:28:13 UTC (rev 15293)
+++ trunk/cdparanoia/cachetest.c	2008-09-11 11:30:05 UTC (rev 15294)
@@ -587,7 +587,12 @@
 	if(ret<=0)break;
 	logC("%d:%d:%d ",sofar,ret,x);
 	if(x>=MIN_SEEK_MS){
-	  rollbehind=sofar+1;
+	  if(rollbehind != sofar+1){
+	    rollbehind=sofar+1;
+	    i=0;
+	  }else{
+	    i++;
+	  }
 	  break;
 	}
 	rollbehind=sofar;



More information about the commits mailing list