From: Monty Date: Tue, 25 Nov 2008 17:27:58 +0000 (+0000) Subject: Second patch to correct #1456 X-Git-Tag: v1.3.3~194 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0cfe981ff5a48fa61e146bb95402d89afb3f25fd;p=platform%2Fupstream%2Flibvorbis.git Second patch to correct #1456 svn path=/trunk/vorbis/; revision=15533 --- 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++){