diff options
author | Monty <xiphmont@xiph.org> | 2010-10-18 09:53:27 +0000 |
---|---|---|
committer | Monty <xiphmont@xiph.org> | 2010-10-18 09:53:27 +0000 |
commit | 1f91f209f3242fd473bd90d595c4e8b07f9553e0 (patch) | |
tree | b1e1b58cf9ca87718064b99191cb6bdb5b047c83 | |
parent | d9c0b177008937bce110c3902479ad8c720f6b14 (diff) | |
download | tremor-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |