--- a/examples/seeking_example.c
+++ b/examples/seeking_example.c
@@ -26,9 +26,9 @@
 #endif
 
 void _verify(OggVorbis_File *ov,
-	     ogg_int64_t val,ogg_int64_t pcmval,double timeval,
-	     ogg_int64_t pcmlength,
-	     char *bigassbuffer){
+             ogg_int64_t val,ogg_int64_t pcmval,double timeval,
+             ogg_int64_t pcmlength,
+             char *bigassbuffer){
   int j;
   long bread;
   char buffer[4096];
@@ -38,17 +38,17 @@
   /* verify the raw position, the pcm position and position decode */
   if(val!=-1 && ov_raw_tell(ov)<val){
     fprintf(stderr,"raw position out of tolerance: requested %ld, got %ld\n",
-	   (long)val,(long)ov_raw_tell(ov));
+           (long)val,(long)ov_raw_tell(ov));
     exit(1);
   }
   if(pcmval!=-1 && ov_pcm_tell(ov)>pcmval){
     fprintf(stderr,"pcm position out of tolerance: requested %ld, got %ld\n",
-	   (long)pcmval,(long)ov_pcm_tell(ov));
+           (long)pcmval,(long)ov_pcm_tell(ov));
     exit(1);
   }
   if(timeval!=-1 && ov_time_tell(ov)>timeval){
     fprintf(stderr,"time position out of tolerance: requested %f, got %f\n",
-	   timeval,ov_time_tell(ov));
+           timeval,ov_time_tell(ov));
     exit(1);
   }
   pos=ov_pcm_tell(ov);
@@ -62,12 +62,12 @@
       fprintf(stderr,"data position after seek doesn't match pcm position\n");
 
       {
-	FILE *f=fopen("a.m","w");
-	for(j=0;j<bread;j++)fprintf(f,"%d\n",(int)buffer[j]);
-	fclose(f);
-	f=fopen("b.m","w");
-	for(j=0;j<bread;j++)fprintf(f,"%d\n",(int)bigassbuffer[j+pos*2]);
-	fclose(f);
+        FILE *f=fopen("a.m","w");
+        for(j=0;j<bread;j++)fprintf(f,"%d\n",(int)buffer[j]);
+        fclose(f);
+        f=fopen("b.m","w");
+        for(j=0;j<bread;j++)fprintf(f,"%d\n",(int)bigassbuffer[j+pos*2]);
+        fclose(f);
       }
 
       exit(1);
@@ -102,9 +102,9 @@
     for(i=0;i<ov.links;i++){
       vorbis_info *vi=ov_info(&ov,i);
       if(vi->channels!=2){
-	fprintf(stderr,"Sorry; right now seeking_test can only use Vorbis files\n"
-	       "that are entirely stereo.\n\n");
-	exit(1);
+        fprintf(stderr,"Sorry; right now seeking_test can only use Vorbis files\n"
+               "that are entirely stereo.\n\n");
+        exit(1);
       }
     }
     
@@ -118,29 +118,29 @@
       int ret=ov_read(&ov,bigassbuffer+i,pcmlength*2-i,1,1,1,&dummy);
       if(ret<0)continue;
       if(ret){
-	i+=ret;
+        i+=ret;
       }else{
-	pcmlength=i/2;
+        pcmlength=i/2;
       }
       fprintf(stderr,"\rloading.... [%ld left]              ",
-	      (long)(pcmlength*2-i));
+              (long)(pcmlength*2-i));
     }
     
     {
       ogg_int64_t length=ov.end;
       fprintf(stderr,"\rtesting raw seeking to random places in %ld bytes....\n",
-	     (long)length);
-    
-      for(i=0;i<1000;i++){
-	ogg_int64_t val=(double)rand()/RAND_MAX*length;
-	fprintf(stderr,"\r\t%d [raw position %ld]...     ",i,(long)val);
-	ret=ov_raw_seek(&ov,val);
-	if(ret<0){
-	  fprintf(stderr,"seek failed: %d\n",ret);
-	  exit(1);
-	}
-
-	_verify(&ov,val,-1,-1.,pcmlength,bigassbuffer);
+             (long)length);
+    
+      for(i=0;i<1000;i++){
+        ogg_int64_t val=(double)rand()/RAND_MAX*length;
+        fprintf(stderr,"\r\t%d [raw position %ld]...     ",i,(long)val);
+        ret=ov_raw_seek(&ov,val);
+        if(ret<0){
+          fprintf(stderr,"seek failed: %d\n",ret);
+          exit(1);
+        }
+
+        _verify(&ov,val,-1,-1.,pcmlength,bigassbuffer);
 
       }
     }
@@ -148,18 +148,18 @@
     fprintf(stderr,"\r");
     {
       fprintf(stderr,"testing pcm page seeking to random places in %ld samples....\n",
-	     (long)pcmlength);
-    
-      for(i=0;i<1000;i++){
-	ogg_int64_t val=(double)rand()/RAND_MAX*pcmlength;
-	fprintf(stderr,"\r\t%d [pcm position %ld]...     ",i,(long)val);
-	ret=ov_pcm_seek_page(&ov,val);
-	if(ret<0){
-	  fprintf(stderr,"seek failed: %d\n",ret);
-	  exit(1);
-	}
-
-	_verify(&ov,-1,val,-1.,pcmlength,bigassbuffer);
+             (long)pcmlength);
+    
+      for(i=0;i<1000;i++){
+        ogg_int64_t val=(double)rand()/RAND_MAX*pcmlength;
+        fprintf(stderr,"\r\t%d [pcm position %ld]...     ",i,(long)val);
+        ret=ov_pcm_seek_page(&ov,val);
+        if(ret<0){
+          fprintf(stderr,"seek failed: %d\n",ret);
+          exit(1);
+        }
+
+        _verify(&ov,-1,val,-1.,pcmlength,bigassbuffer);
 
       }
     }
@@ -167,23 +167,23 @@
     fprintf(stderr,"\r");
     {
       fprintf(stderr,"testing pcm exact seeking to random places in %ld samples....\n",
-	     (long)pcmlength);
-    
-      for(i=0;i<1000;i++){
-	ogg_int64_t val=(double)rand()/RAND_MAX*pcmlength;
-	fprintf(stderr,"\r\t%d [pcm position %ld]...     ",i,(long)val);
-	ret=ov_pcm_seek(&ov,val);
-	if(ret<0){
-	  fprintf(stderr,"seek failed: %d\n",ret);
-	  exit(1);
-	}
-	if(ov_pcm_tell(&ov)!=val){
-	  fprintf(stderr,"Declared position didn't perfectly match request: %ld != %ld\n",
-		 (long)val,(long)ov_pcm_tell(&ov));
-	  exit(1);
-	}
-
-	_verify(&ov,-1,val,-1.,pcmlength,bigassbuffer);
+             (long)pcmlength);
+    
+      for(i=0;i<1000;i++){
+        ogg_int64_t val=(double)rand()/RAND_MAX*pcmlength;
+        fprintf(stderr,"\r\t%d [pcm position %ld]...     ",i,(long)val);
+        ret=ov_pcm_seek(&ov,val);
+        if(ret<0){
+          fprintf(stderr,"seek failed: %d\n",ret);
+          exit(1);
+        }
+        if(ov_pcm_tell(&ov)!=val){
+          fprintf(stderr,"Declared position didn't perfectly match request: %ld != %ld\n",
+                 (long)val,(long)ov_pcm_tell(&ov));
+          exit(1);
+        }
+
+        _verify(&ov,-1,val,-1.,pcmlength,bigassbuffer);
 
       }
     }
@@ -191,18 +191,18 @@
     fprintf(stderr,"\r");
     {
       fprintf(stderr,"testing time page seeking to random places in %f seconds....\n",
-	     timelength);
-    
-      for(i=0;i<1000;i++){
-	double val=(double)rand()/RAND_MAX*timelength;
-	fprintf(stderr,"\r\t%d [time position %f]...     ",i,val);
-	ret=ov_time_seek_page(&ov,val);
-	if(ret<0){
-	  fprintf(stderr,"seek failed: %d\n",ret);
-	  exit(1);
-	}
-
-	_verify(&ov,-1,-1,val,pcmlength,bigassbuffer);
+             timelength);
+    
+      for(i=0;i<1000;i++){
+        double val=(double)rand()/RAND_MAX*timelength;
+        fprintf(stderr,"\r\t%d [time position %f]...     ",i,val);
+        ret=ov_time_seek_page(&ov,val);
+        if(ret<0){
+          fprintf(stderr,"seek failed: %d\n",ret);
+          exit(1);
+        }
+
+        _verify(&ov,-1,-1,val,pcmlength,bigassbuffer);
 
       }
     }
@@ -210,23 +210,23 @@
     fprintf(stderr,"\r");
     {
       fprintf(stderr,"testing time exact seeking to random places in %f seconds....\n",
-	     timelength);
-    
-      for(i=0;i<1000;i++){
-	double val=(double)rand()/RAND_MAX*timelength;
-	fprintf(stderr,"\r\t%d [time position %f]...     ",i,val);
-	ret=ov_time_seek(&ov,val);
-	if(ret<0){
-	  fprintf(stderr,"seek failed: %d\n",ret);
-	  exit(1);
-	}
-	if(ov_time_tell(&ov)<val-1 || ov_time_tell(&ov)>val+1){
-	  fprintf(stderr,"Declared position didn't perfectly match request: %f != %f\n",
-		 val,ov_time_tell(&ov));
-	  exit(1);
-	}
-
-	_verify(&ov,-1,-1,val,pcmlength,bigassbuffer);
+             timelength);
+    
+      for(i=0;i<1000;i++){
+        double val=(double)rand()/RAND_MAX*timelength;
+        fprintf(stderr,"\r\t%d [time position %f]...     ",i,val);
+        ret=ov_time_seek(&ov,val);
+        if(ret<0){
+          fprintf(stderr,"seek failed: %d\n",ret);
+          exit(1);
+        }
+        if(ov_time_tell(&ov)<val-1 || ov_time_tell(&ov)>val+1){
+          fprintf(stderr,"Declared position didn't perfectly match request: %f != %f\n",
+                 val,ov_time_tell(&ov));
+          exit(1);
+        }
+
+        _verify(&ov,-1,-1,val,pcmlength,bigassbuffer);
 
       }
     }