search for: flac__streammetadata_vorbiscomme

Displaying 1 result from an estimated 1 matches for "flac__streammetadata_vorbiscomme".

2013 Apr 23
2
Metaflac UTF-8 fixes
...AC__format_vorbiscomment_entry_is_legal(entry.entry, entry.length)) { if(needs_free) diff --git a/src/metaflac/utils.c b/src/metaflac/utils.c index 8b91011..be5a3c1 100644 --- a/src/metaflac/utils.c +++ b/src/metaflac/utils.c @@ -229,13 +229,18 @@ void write_vc_field(const char *filename, const FLAC__StreamMetadata_VorbisComme { if(0 != entry->entry) { if(filename) - fprintf(f, "%s:", filename); + flac_fprintf(f, "%s:", filename); if(!raw) { /* * WATCHOUT: comments that contain an embedded null will * be truncated by utf_decode(). */ +#ifdef _WIN32 /* if we are out...