[xiph-commits] r15923 - trunk/vorbis/lib

xiphmont at svn.xiph.org xiphmont at svn.xiph.org
Tue Apr 7 19:29:31 PDT 2009


Author: xiphmont
Date: 2009-04-07 19:29:31 -0700 (Tue, 07 Apr 2009)
New Revision: 15923

Modified:
   trunk/vorbis/lib/psy.c
Log:
Patch an uninitialized trailing space in the ATH in very high sample rates found by Erik.  



Modified: trunk/vorbis/lib/psy.c
===================================================================
--- trunk/vorbis/lib/psy.c	2009-04-08 01:46:27 UTC (rev 15922)
+++ trunk/vorbis/lib/psy.c	2009-04-08 02:29:31 UTC (rev 15923)
@@ -304,6 +304,10 @@
     }
   }
 
+  for(;j<n;j++){
+    p->ath[j]=p->ath[j-1];
+  }
+
   for(i=0;i<n;i++){
     float bark=toBARK(rate/(2*n)*i); 
 



More information about the commits mailing list