projects
/
platform
/
upstream
/
libvorbis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55fddec
)
Port r17544 from Tremor.
author
Tim Terriberry
<tterribe@xiph.org>
Thu, 21 Oct 2010 18:25:19 +0000
(18:25 +0000)
committer
Tim Terriberry
<tterribe@xiph.org>
Thu, 21 Oct 2010 18:25:19 +0000
(18:25 +0000)
A guard conditional used > instead of >=.
svn path=/trunk/vorbis/; revision=17556
lib/res0.c
patch
|
blob
|
history
diff --git
a/lib/res0.c
b/lib/res0.c
index
8f14201
..
c9baca4
100644
(file)
--- a/
lib/res0.c
+++ b/
lib/res0.c
@@
-829,7
+829,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;
}