[xiph-commits] r15929 - trunk/vorbis/lib
xiphmont at svn.xiph.org
xiphmont at svn.xiph.org
Thu Apr 9 09:03:25 PDT 2009
Author: xiphmont
Date: 2009-04-09 09:03:25 -0700 (Thu, 09 Apr 2009)
New Revision: 15929
Modified:
trunk/vorbis/lib/vorbisfile.c
Log:
Bugfix to new bisection code: fix end of data marker
Still failing several chaining test vectors, DO NOT USE YET
Modified: trunk/vorbis/lib/vorbisfile.c
===================================================================
--- trunk/vorbis/lib/vorbisfile.c 2009-04-09 15:34:27 UTC (rev 15928)
+++ trunk/vorbis/lib/vorbisfile.c 2009-04-09 16:03:25 UTC (rev 15929)
@@ -219,8 +219,7 @@
if(ret_serialno == *serialno){
prefoffset=ret;
*granpos=ret_gran;
- }
-
+ }
}
}
}
@@ -626,7 +625,7 @@
if(end<0)return(end);
/* now determine bitstream structure recursively */
- if(_bisect_forward_serialno(vf,0,dataoffset,end+1,endgran,endserial,
+ if(_bisect_forward_serialno(vf,0,dataoffset,vf->offset,endgran,endserial,
vf->serialnos+2,vf->serialnos[1],0)<0)return(OV_EREAD);
vf->offsets[0]=0;
More information about the commits
mailing list