From 4219a5ae5c7ee8cab7db9bcf53207d46173f4b63 Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Mon, 14 Jun 2010 15:05:16 -0300 Subject: [PATCH] tag: xmp: Init char variable for gps coordinates Initialize char variable for gps coordinates deserialization to 0 to identify when it couldn't be parsed/found and error out. Fixes #621509 --- 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 97867a7..9513c80 100644 --- a/gst-libs/gst/tag/gstxmptag.c +++ b/gst-libs/gst/tag/gstxmptag.c @@ -253,7 +253,7 @@ deserialize_exif_gps_coordinate (GstTagList * taglist, const gchar * gst_tag, gdouble value = 0; gint d = 0, m = 0, s = 0; gdouble m2 = 0; - gchar c; + gchar c = 0; const gchar *current; /* get the degrees */ -- 2.7.4