From 0cfe981ff5a48fa61e146bb95402d89afb3f25fd Mon Sep 17 00:00:00 2001 From: Monty Date: Tue, 25 Nov 2008 17:27:58 +0000 Subject: [PATCH] Second patch to correct #1456 svn path=/trunk/vorbis/; revision=15533 --- lib/res0.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/res0.c b/lib/res0.c index e3f2dc8..ed73aaa 100644 --- 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;jpartvals*=look->parts; + look->stages=maxstage; look->decodemap=_ogg_malloc(look->partvals*sizeof(*look->decodemap)); for(j=0;jpartvals;j++){ -- 2.7.4