gst-libs/gst/tag/tags.c: Don't pass trailing zeroes in fixed-size string arrays in...
authorTim-Philipp Müller <tim@centricular.net>
Wed, 27 Jun 2007 22:30:19 +0000 (22:30 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Wed, 27 Jun 2007 22:30:19 +0000 (22:30 +0000)
commit28ef3f5ddf3f8037c3eeb33a6497ae132f0fb697
tree17d47345e650587974643c7167f94b53ede4f826
parentf637e3b80cf3b242be6c75995a6995c72fb465ee
gst-libs/gst/tag/tags.c: Don't pass trailing zeroes in fixed-size string arrays in ID3v1 tags to utf8-validate; fixes...

Original commit message from CVS:
* gst-libs/gst/tag/tags.c: (gst_tag_freeform_string_to_utf8):
Don't pass trailing zeroes in fixed-size string arrays in ID3v1 tags
to utf8-validate; fixes recognition of ID3v1 tags in UTF-8 encoding
(#451707); also, output some debugging info when dealing with
freeform strings.
* tests/check/libs/tag.c: (GST_START_TEST), (tag_suite):
Add unit test for the above.
ChangeLog
gst-libs/gst/tag/tags.c
tests/check/libs/tag.c