diff options
author | Monty <xiphmont@xiph.org> | 2000-04-12 08:47:53 +0000 |
---|---|---|
committer | Monty <xiphmont@xiph.org> | 2000-04-12 08:47:53 +0000 |
commit | 7f4f858fa2094684cd306f55704d015edf274ee3 (patch) | |
tree | fc645558de6a326d61b8d818bc295ae1c1a98745 | |
parent | 5ba60c7a9b8e9396da32bfce46ae08b9fb0c5151 (diff) | |
download | libvorbis-git-7f4f858fa2094684cd306f55704d015edf274ee3.tar.gz |
Missed a simple bug in psy.c with serious consequences.
(Forgot to initialize the doubly-interpolated psy curves)
svn path=/branches/new_acoustics_pending_merge_20000328/vorbis/; revision=316
-rw-r--r-- | lib/psy.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -12,7 +12,7 @@ ******************************************************************** function: psychoacoustics not including preecho - last mod: $Id: psy.c,v 1.16.2.2.2.7 2000/04/06 15:59:37 xiphmont Exp $ + last mod: $Id: psy.c,v 1.16.2.2.2.8 2000/04/12 08:47:53 xiphmont Exp $ ********************************************************************/ @@ -252,7 +252,7 @@ void _vp_psy_init(vorbis_look_psy *p,vorbis_info_psy *vi,int n,long rate){ vi->peakpre,vi->peakpost); for(i=1;i<11;i+=2) - for(j=0;j<9;j+=2) + for(j=0;j<9;j++) interp_curve_dB(p->curves[i][j],p->curves[i-1][j],p->curves[i+1][j],.5); } |