jpegparse: Fix unitialized variable on macosx 10.5
authorEdward Hervey <bilboed@bilboed.com>
Fri, 12 Mar 2010 08:52:57 +0000 (09:52 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Fri, 12 Mar 2010 08:52:57 +0000 (09:52 +0100)
gst/jpegformat/gstjpegparse.c

index 6fbe2d0..bcd1cb0 100644 (file)
@@ -566,7 +566,7 @@ gst_jpeg_parse_read_header (GstJpegParse * parse, GstBuffer * buffer)
           goto error;
 
         if (!strcmp (id_str, "http://ns.adobe.com/xap/1.0/")) {
-          const guint8 *xmp_data;
+          const guint8 *xmp_data = NULL;
           guint xmp_size = size - 2 - 29;
           GstTagList *tags;
           GstBuffer *buf;