Commit 99ef5101 authored by Ralph Giles's avatar Ralph Giles
Browse files

Suppress some (spurious) uninitialized variable warnings.


git-svn-id: https://svn.xiph.org/trunk/Tremor@10710 0101bb08-14d6-0310-b084-bc0e0c8e3800
parent 521f4d21
...@@ -81,7 +81,7 @@ void oggpack_readinit(oggpack_buffer *b,ogg_reference *r){ ...@@ -81,7 +81,7 @@ void oggpack_readinit(oggpack_buffer *b,ogg_reference *r){
/* Read in bits without advancing the bitptr; bits <= 32 */ /* Read in bits without advancing the bitptr; bits <= 32 */
long oggpack_look(oggpack_buffer *b,int bits){ long oggpack_look(oggpack_buffer *b,int bits){
unsigned long m=mask[bits]; unsigned long m=mask[bits];
unsigned long ret; unsigned long ret=-1;
bits+=b->headbit; bits+=b->headbit;
...@@ -175,7 +175,7 @@ int oggpack_eop(oggpack_buffer *b){ ...@@ -175,7 +175,7 @@ int oggpack_eop(oggpack_buffer *b){
/* bits <= 32 */ /* bits <= 32 */
long oggpack_read(oggpack_buffer *b,int bits){ long oggpack_read(oggpack_buffer *b,int bits){
unsigned long m=mask[bits]; unsigned long m=mask[bits];
ogg_uint32_t ret; ogg_uint32_t ret=-1;
bits+=b->headbit; bits+=b->headbit;
......
...@@ -210,7 +210,7 @@ ogg_int32_t *_book_unquantize(const static_codebook *b,int n,int *sparsemap, ...@@ -210,7 +210,7 @@ ogg_int32_t *_book_unquantize(const static_codebook *b,int n,int *sparsemap,
int indexdiv=1; int indexdiv=1;
for(k=0;k<b->dim;k++){ for(k=0;k<b->dim;k++){
int index= (j/indexdiv)%quantvals; int index= (j/indexdiv)%quantvals;
int point; int point=0;
int val=VFLOAT_MULTI(delta,delpoint, int val=VFLOAT_MULTI(delta,delpoint,
abs(b->quantlist[index]),&point); abs(b->quantlist[index]),&point);
...@@ -244,7 +244,7 @@ ogg_int32_t *_book_unquantize(const static_codebook *b,int n,int *sparsemap, ...@@ -244,7 +244,7 @@ ogg_int32_t *_book_unquantize(const static_codebook *b,int n,int *sparsemap,
int lastpoint=0; int lastpoint=0;
for(k=0;k<b->dim;k++){ for(k=0;k<b->dim;k++){
int point; int point=0;
int val=VFLOAT_MULTI(delta,delpoint, int val=VFLOAT_MULTI(delta,delpoint,
abs(b->quantlist[j*b->dim+k]),&point); abs(b->quantlist[j*b->dim+k]),&point);
......
...@@ -987,7 +987,7 @@ int ov_raw_seek(OggVorbis_File *vf,ogg_int64_t pos){ ...@@ -987,7 +987,7 @@ int ov_raw_seek(OggVorbis_File *vf,ogg_int64_t pos){
int lastblock=0; int lastblock=0;
int accblock=0; int accblock=0;
int thisblock; int thisblock;
int eosflag; int eosflag=0;
work_os=ogg_stream_create(vf->current_serialno); /* get the memory ready */ work_os=ogg_stream_create(vf->current_serialno); /* get the memory ready */
while(1){ while(1){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment