summaryrefslogtreecommitdiffstats
path: root/ext/flac/gstflacenc.c
diff options
context:
space:
mode:
authorChristophe Fergeau <teuf@gnome.org>2003-12-08 22:04:46 +0000
committerChristophe Fergeau <teuf@gnome.org>2003-12-08 22:04:46 +0000
commit78f8b4f6132843e4103cf2e29eac93744e9a8c3c (patch)
treedfb5939a9213aa8660df1ed681984de88e39829f /ext/flac/gstflacenc.c
parentc58758c843e341157c5a8503734b8e6bd025ea25 (diff)
Fixed bug when filling tags in gstflacenc
Original commit message from CVS: Fixed bug when filling tags in gstflacenc Added merging support, and a mode which stops after outputting tags to flactag
Diffstat (limited to 'ext/flac/gstflacenc.c')
-rw-r--r--ext/flac/gstflacenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/flac/gstflacenc.c b/ext/flac/gstflacenc.c
index 437e682c..4b7bf16c 100644
--- a/ext/flac/gstflacenc.c
+++ b/ext/flac/gstflacenc.c
@@ -486,7 +486,7 @@ add_one_tag (const GstTagList *list, const gchar *tag,
comments = gst_tag_to_vorbis_comments (list, tag);
for (it = comments; it != NULL; it = it->next) {
FLAC__StreamMetadata_VorbisComment_Entry commment_entry;
- commment_entry.length = GUINT32_TO_LE (strlen(it->data) + 1);
+ commment_entry.length = GUINT32_TO_LE (strlen(it->data));
commment_entry.entry = it->data;
FLAC__metadata_object_vorbiscomment_insert_comment (flacenc->meta[0],
flacenc->meta[0]->data.vorbis_comment.num_comments,