Commit 0cfe981f authored by Monty's avatar Monty
Browse files

Second patch to correct #1456


svn path=/trunk/vorbis/; revision=15533
parent 9635ef1a
......@@ -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++){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment