summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMonty <xiphmont@xiph.org>2010-10-18 09:53:27 +0000
committerMonty <xiphmont@xiph.org>2010-10-18 09:53:27 +0000
commit1f91f209f3242fd473bd90d595c4e8b07f9553e0 (patch)
treeb1e1b58cf9ca87718064b99191cb6bdb5b047c83
parentd9c0b177008937bce110c3902479ad8c720f6b14 (diff)
downloadtremor-1f91f209f3242fd473bd90d595c4e8b07f9553e0.tar.gz
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
-rw-r--r--res012.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res012.c b/res012.c
index 18a2583..f036caa 100644
--- a/res012.c
+++ b/res012.c
@@ -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;
}