From 27af612b9879687bf5e319ef3b8789ee773683ec Mon Sep 17 00:00:00 2001 From: Tim Terriberry Date: Wed, 1 Feb 2012 01:43:09 +0000 Subject: [PATCH] Fix handling of floor0 codebook with no used entries. svn path=/trunk/vorbis/; revision=18166 --- lib/codebook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/codebook.c b/lib/codebook.c index 647a5a6..cdf9e26 100644 --- a/lib/codebook.c +++ b/lib/codebook.c @@ -447,7 +447,7 @@ long vorbis_book_decodev_set(codebook *book,float *a,oggpack_buffer *b,int n){ int i,j; for(i=0;idim;) + for (j=0;jdim;j++) a[i++]=0.f; } } -- 2.7.4