Displaying 1 result from an estimated 1 matches for "write_vc_field".
2013 Apr 23
2
Metaflac UTF-8 fixes
...trlen((const char *)entry.entry);
 		if(!FLAC__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 trunc...