mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
minor cosmetics
This commit is contained in:
@@ -104,7 +104,7 @@ static void init_metadata_blocks_()
|
||||
application2_.data.application.data = 0;
|
||||
|
||||
{
|
||||
const unsigned vendor_string_length = (unsigned)strlen((const char *)FLAC__VENDOR_STRING);
|
||||
const unsigned vendor_string_length = (unsigned)strlen(FLAC__VENDOR_STRING);
|
||||
vorbiscomment_.is_last = true;
|
||||
vorbiscomment_.type = FLAC__METADATA_TYPE_VORBIS_COMMENT;
|
||||
vorbiscomment_.length = (4 + vendor_string_length) + 4 + (4 + 5) + (4 + 0);
|
||||
|
||||
@@ -286,7 +286,7 @@ static bool generate_file_()
|
||||
memset(streaminfo.data.stream_info.md5sum, 0, 16);
|
||||
|
||||
{
|
||||
const unsigned vendor_string_length = (unsigned)strlen((const char*)FLAC__VENDOR_STRING);
|
||||
const unsigned vendor_string_length = (unsigned)strlen(FLAC__VENDOR_STRING);
|
||||
vorbiscomment.is_last = false;
|
||||
vorbiscomment.type = FLAC__METADATA_TYPE_VORBIS_COMMENT;
|
||||
vorbiscomment.length = (4 + vendor_string_length) + 4;
|
||||
|
||||
Reference in New Issue
Block a user