Changeset 132:482f25a6d24c in roaraudio


Ignore:
Timestamp:
07/14/08 04:05:29 (16 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

make valgrind happy: initialise memory even if not *really* needed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roarclients/roarvorbis.c

    r124 r132  
    4141 int    codec    = ROAR_CODEC_DEFAULT; 
    4242 char **ptr = ov_comment(vf, -1)->user_comments; 
    43  char key[80], value[80]; 
     43 char key[80], value[80] = {0}; 
    4444 int j, h = 0; 
    4545 struct roar_meta   meta; 
     
    7272 meta.value = value; 
    7373 meta.key[0] = 0; 
     74 meta.type = ROAR_META_TYPE_NONE; 
    7475 
    7576 roar_stream_meta_set(con, s, ROAR_META_MODE_CLEAR, &meta); 
     
    114115 OggVorbis_File vf; 
    115116 int eof=0; 
    116  int current_section; 
     117 int current_section = -1; 
    117118 int last_section = -1; 
    118119 struct roar_audio_info info; 
Note: See TracChangeset for help on using the changeset viewer.