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

tterribe at svn.xiph.org tterribe at svn.xiph.org
Tue Jan 31 17:43:10 PST 2012


Author: tterribe
Date: 2012-01-31 17:43:09 -0800 (Tue, 31 Jan 2012)
New Revision: 18166

Modified:
   trunk/vorbis/lib/codebook.c
Log:
Fix handling of floor0 codebook with no used entries.


Modified: trunk/vorbis/lib/codebook.c
===================================================================
--- trunk/vorbis/lib/codebook.c	2012-01-29 08:00:19 UTC (rev 18165)
+++ trunk/vorbis/lib/codebook.c	2012-02-01 01:43:09 UTC (rev 18166)
@@ -447,7 +447,7 @@
     int i,j;
 
     for(i=0;i<n;){
-      for (j=0;j<book->dim;)
+      for (j=0;j<book->dim;j++)
         a[i++]=0.f;
     }
   }



More information about the commits mailing list