Avoid some warnings when compiling with -O3.

This commit is contained in:
Moritz Bunkus 2004-07-29 17:50:20 +00:00
parent 1bb05de278
commit 9d2e8af2de
2 changed files with 3 additions and 0 deletions

View File

@ -80,6 +80,8 @@ flac_get_num_samples(unsigned char *mem,
if (!bits.get_bits(4, value))
return -1;
free_sample_size = 0;
samples = 0;
if (value == 0)
samples = stream_info.min_blocksize;
else if (value == 1)

View File

@ -2492,6 +2492,7 @@ add_tags_from_cue_chapters() {
return;
found = false;
tuid = 0;
for (i = 0; i < ptzrs_in_header_order.size(); i++)
if (ptzrs_in_header_order[i]->get_track_type() == 'v') {
found = true;