[xiph-commits] r15533 - trunk/vorbis/lib
xiphmont at svn.xiph.org
xiphmont at svn.xiph.org
Tue Nov 25 09:27:59 PST 2008
Author: xiphmont
Date: 2008-11-25 09:27:58 -0800 (Tue, 25 Nov 2008)
New Revision: 15533
Modified:
trunk/vorbis/lib/res0.c
Log:
Second patch to correct #1456
Modified: trunk/vorbis/lib/res0.c
===================================================================
--- trunk/vorbis/lib/res0.c 2008-11-25 01:46:22 UTC (rev 15532)
+++ trunk/vorbis/lib/res0.c 2008-11-25 17:27:58 UTC (rev 15533)
@@ -276,7 +276,10 @@
}
}
- 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++){
More information about the commits
mailing list