Skip to content
Snippets Groups Projects
Commit 1f91f209 authored by Monty's avatar Monty
Browse files

A guard conditional used > instead of >=. Fix for

zzuf.00005.355571120.chop.rc2-test2.ogg




git-svn-id: https://svn.xiph.org/trunk/Tremor@17544 0101bb08-14d6-0310-b084-bc0e0c8e3800
parent d9c0b177
No related branches found
No related tags found
No related merge requests found
......@@ -322,7 +322,7 @@ int res2_inverse(vorbis_block *vb,vorbis_look_residue *vl,
if(s==0){
/* fetch the partition word */
int temp=vorbis_book_decode(look->phrasebook,&vb->opb);
if(temp==-1 || temp>info->partvals)goto eopbreak;
if(temp==-1 || temp>=info->partvals)goto eopbreak;
partword[l]=look->decodemap[temp];
if(partword[l]==NULL)goto errout;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment