Skip to content
Snippets Groups Projects
Commit bcce26eb authored by Edward Hervey's avatar Edward Hervey :metal:
Browse files

vorbistag: Fix previous comment

We already NULL-ended the string, don't use the bogus cur_size
parent 13ff485d
No related branches found
No related tags found
No related merge requests found
......@@ -480,7 +480,7 @@ gst_tag_list_from_vorbiscomment (const guint8 * data, gsize size,
gst_vorbis_tag_add_coverart (list, value, value_len);
} else if (g_ascii_strcasecmp (cur, "METADATA_BLOCK_PICTURE") == 0) {
gst_vorbis_tag_add_metadata_block_picture (list, value, value_len);
} else if (g_utf8_validate (cur, cur_size, NULL)) {
} else if (g_utf8_validate (cur, -1, NULL)) {
gst_vorbis_tag_add (list, cur, value);
}
g_free (cur);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment