a missing const cast
forgot to initilize a loop counter (!)
Monty
svn path=/trunk/vorbis/; revision=1507
********************************************************************
function: basic codebook pack/unpack/code/decode operations
- last mod: $Id: codebook.c,v 1.26 2001/06/15 21:15:39 xiphmont Exp $
+ last mod: $Id: codebook.c,v 1.27 2001/06/18 22:19:26 xiphmont Exp $
********************************************************************/
}
long vorbis_book_decodev_add(codebook *book,float *a,oggpack_buffer *b,int n){
- int i,j,entry;
+ int i,j=0,entry;
float *t;
if(book->dim>8){
********************************************************************
function: psychoacoustics not including preecho
- last mod: $Id: psy.c,v 1.47 2001/06/18 09:07:31 xiphmont Exp $
+ last mod: $Id: psy.c,v 1.48 2001/06/18 22:19:26 xiphmont Exp $
********************************************************************/
p->vi->noisewindowhimin,
p->noisemedian,
p->noiseoffset,
- p->vi->noisewindowfixed);
+ (const long *)(p->vi->noisewindowfixed));
/* suppress any noise curve > specmax+p->vi->noisemaxsupp */
for(i=0;i<n;i++)
if(mask[i]>specmax+p->vi->noisemaxsupp)