From e207463582cc227b73922e8d6a70a721b75baf45 Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Tue, 23 Mar 2010 09:48:19 -0300 Subject: tag: xmp: Fix off by one Avoid ignoring single char tags, like exif:GPSAltitudeRef Fixes #613690 --- gst-libs/gst/tag/gstxmptag.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/tag/gstxmptag.c b/gst-libs/gst/tag/gstxmptag.c index 5ede2877f..064480d64 100644 --- a/gst-libs/gst/tag/gstxmptag.c +++ b/gst-libs/gst/tag/gstxmptag.c @@ -618,7 +618,7 @@ gst_tag_list_from_xmp_buffer (const GstBuffer * buffer) *pp = '\0'; /* create node */ /* {TXT, ns, (ne-ns)-1} */ - if (ns[0] != '\n' && &ns[1] < ne) { + if (ns[0] != '\n' && &ns[1] <= ne) { /* only log non-newline nodes, we still have to parse them */ GST_INFO ("txt: %s", part); if (last_tag) { -- cgit v1.2.3