From: Thiago Santos Date: Mon, 14 Jun 2010 18:05:16 +0000 (-0300) Subject: tag: xmp: Init char variable for gps coordinates X-Git-Tag: 1.19.3~511^2~8313 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4219a5ae5c7ee8cab7db9bcf53207d46173f4b63;p=platform%2Fupstream%2Fgstreamer.git 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 --- 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 */