diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-07-07 08:23:21 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-07-07 08:23:21 +0000 |
commit | 28bd327559c11c5b0821f20aa8cf35aeceb94549 (patch) | |
tree | b94089a9efed53657f89eaf6440c11025688c837 | |
parent | 4e52b97c7a0435244e49e92ca16a9e7a4e6ad307 (diff) | |
download | rockbox-28bd327559c11c5b0821f20aa8cf35aeceb94549.tar.gz rockbox-28bd327559c11c5b0821f20aa8cf35aeceb94549.zip |
Fix possible use of uninitialized variable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7052 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/codecs/Tremor/sharedbook.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/Tremor/sharedbook.c b/apps/codecs/Tremor/sharedbook.c index aae61bfb56..f5b691a6e4 100644 --- a/apps/codecs/Tremor/sharedbook.c +++ b/apps/codecs/Tremor/sharedbook.c | |||
@@ -211,7 +211,7 @@ ogg_int32_t *_book_unquantize(const static_codebook *b,int n,int *sparsemap, | |||
211 | int indexdiv=1; | 211 | int indexdiv=1; |
212 | for(k=0;k<b->dim;k++){ | 212 | for(k=0;k<b->dim;k++){ |
213 | int index= (j/indexdiv)%quantvals; | 213 | int index= (j/indexdiv)%quantvals; |
214 | int point; | 214 | int point=0; |
215 | int val=VFLOAT_MULTI(delta,delpoint, | 215 | int val=VFLOAT_MULTI(delta,delpoint, |
216 | abs(b->quantlist[index]),&point); | 216 | abs(b->quantlist[index]),&point); |
217 | 217 | ||
@@ -245,7 +245,7 @@ ogg_int32_t *_book_unquantize(const static_codebook *b,int n,int *sparsemap, | |||
245 | int lastpoint=0; | 245 | int lastpoint=0; |
246 | 246 | ||
247 | for(k=0;k<b->dim;k++){ | 247 | for(k=0;k<b->dim;k++){ |
248 | int point; | 248 | int point=0; |
249 | int val=VFLOAT_MULTI(delta,delpoint, | 249 | int val=VFLOAT_MULTI(delta,delpoint, |
250 | abs(b->quantlist[j*b->dim+k]),&point); | 250 | abs(b->quantlist[j*b->dim+k]),&point); |
251 | 251 | ||