From: Tim Terriberry Date: Wed, 1 Feb 2012 01:43:09 +0000 (+0000) Subject: Fix handling of floor0 codebook with no used entries. X-Git-Tag: v1.3.3~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=27af612b9879687bf5e319ef3b8789ee773683ec;p=platform%2Fupstream%2Flibvorbis.git Fix handling of floor0 codebook with no used entries. svn path=/trunk/vorbis/; revision=18166 --- 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; } }