Commit 4f57ae39 authored by Monty's avatar Monty
Browse files

Bugfix to new bisection code: fix end of data marker

Still failing several chaining test vectors, DO NOT USE YET


svn path=/trunk/vorbis/; revision=15929
parent a172bba2
......@@ -220,7 +220,6 @@ static ogg_int64_t _get_prev_page_serial(OggVorbis_File *vf,int *serialno, ogg_i
prefoffset=ret;
*granpos=ret_gran;
}
}
}
}
......@@ -626,7 +625,7 @@ static int _open_seekable2(OggVorbis_File *vf){
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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment