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:
9635ef1
)
Second patch to correct #1456
author
Monty
<xiphmont@xiph.org>
Tue, 25 Nov 2008 17:27:58 +0000
(17:27 +0000)
committer
Monty
<xiphmont@xiph.org>
Tue, 25 Nov 2008 17:27:58 +0000
(17:27 +0000)
svn path=/trunk/vorbis/; revision=15533
lib/res0.c
patch
|
blob
|
history
diff --git
a/lib/res0.c
b/lib/res0.c
index
e3f2dc8
..
ed73aaa
100644
(file)
--- a/
lib/res0.c
+++ b/
lib/res0.c
@@
-276,7
+276,10
@@
vorbis_look_residue *res0_look(vorbis_dsp_state *vd,
}
}
- look->partvals=look->phrasebook->entries;
+ look->partvals=1;
+ for(j=0;j<dim;j++)
+ look->partvals*=look->parts;
+
look->stages=maxstage;
look->decodemap=_ogg_malloc(look->partvals*sizeof(*look->decodemap));
for(j=0;j<look->partvals;j++){