mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 07:46:38 +00:00
vorbistag: Fix previous comment
We already NULL-ended the string, don't use the bogus cur_size
This commit is contained in:
parent
6c749f75a5
commit
24a5a03d27
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue