| Previous | 15994 Revisions | Next |
| r15085 Thursday 3rd May, 2012 at 15:33:23 UTC by smf |
|---|
| Fixed "potentially uninitalized local variable" error when building with msvc, The code does appear to assume that variables on the stack are zero'd. |
| [src/lib/libflac/libflac] | stream_decoder.c |
| r15084 | r15085 | |
|---|---|---|
| 1464 | 1464 | block.is_last = is_last; |
| 1465 | 1465 | block.type = (FLAC__MetadataType)type; |
| 1466 | 1466 | block.length = length; |
| 1467 | memset(&block.data, 0, sizeof(block.data)); | |
| 1467 | 1468 | |
| 1468 | 1469 | if(type == FLAC__METADATA_TYPE_APPLICATION) { |
| 1469 | 1470 | if(!FLAC__bitreader_read_byte_block_aligned_no_crc(decoder->private_->input, block.data.application.id, FLAC__STREAM_METADATA_APPLICATION_ID_LEN/8)) |
| Previous | 15994 Revisions | Next |