mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
tag: xmp: Fix off by one
Avoid ignoring single char tags, like exif:GPSAltitudeRef Fixes #613690
This commit is contained in:
parent
7ebbfbd3a5
commit
e207463582
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue