From 8ad21677b84c2effdd331ac672cd0a2a24b052c6 Mon Sep 17 00:00:00 2001 From: "v.audacity" Date: Sat, 29 Jun 2013 00:27:43 +0000 Subject: [PATCH] Improve a comment. --- src/export/ExportPCM.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/export/ExportPCM.cpp b/src/export/ExportPCM.cpp index f15e9e183..e7a67b9fd 100644 --- a/src/export/ExportPCM.cpp +++ b/src/export/ExportPCM.cpp @@ -800,7 +800,9 @@ void ExportPCM::AddID3Chunk(wxString fName, Tags *tags, int sf_format) id3_tag_delete(tp); return; } - memset(buffer, 0, len); // Be clean for ending odd UTF16 content correctly. + // Zero all locations, for ending odd UTF16 content + // correctly, i.e., two '\0's at the end. + memset(buffer, 0, len); id3_tag_render(tp, buffer);