Patch an uninitialized trailing space in the ATH in very high sample rates found...
authorMonty <xiphmont@xiph.org>
Wed, 8 Apr 2009 02:29:31 +0000 (02:29 +0000)
committerMonty <xiphmont@xiph.org>
Wed, 8 Apr 2009 02:29:31 +0000 (02:29 +0000)
svn path=/trunk/vorbis/; revision=15923

lib/psy.c

index 12ee7f2..269b6f0 100644 (file)
--- a/lib/psy.c
+++ b/lib/psy.c
@@ -304,6 +304,10 @@ void _vp_psy_init(vorbis_look_psy *p,vorbis_info_psy *vi,
     }
   }
 
+  for(;j<n;j++){
+    p->ath[j]=p->ath[j-1];
+  }
+
   for(i=0;i<n;i++){
     float bark=toBARK(rate/(2*n)*i);