projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c749f7
)
vorbistag: Fix previous comment
author
Edward Hervey
<bilboed@bilboed.com>
Thu, 2 Nov 2017 09:40:37 +0000
(10:40 +0100)
committer
Edward Hervey
<bilboed@bilboed.com>
Thu, 2 Nov 2017 09:43:02 +0000
(10:43 +0100)
We already NULL-ended the string, don't use the bogus cur_size
gst-libs/gst/tag/gstvorbistag.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/tag/gstvorbistag.c
b/gst-libs/gst/tag/gstvorbistag.c
index
041fe98
..
118ea21
100644
(file)
--- a/
gst-libs/gst/tag/gstvorbistag.c
+++ b/
gst-libs/gst/tag/gstvorbistag.c
@@
-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);