summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2010-03-12 09:52:57 +0100
committerEdward Hervey <bilboed@bilboed.com>2010-03-12 09:52:57 +0100
commit69a40a159196d034e6a43200429534db1bc60e6b (patch)
treedc2434a8aa20dbed68cbe17d9bb70ce00bf56615
parent3b78cc5eca842829ff3dffe46d9cae390f6bfbcd (diff)
jpegparse: Fix unitialized variable on macosx 10.5
-rw-r--r--gst/jpegformat/gstjpegparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/jpegformat/gstjpegparse.c b/gst/jpegformat/gstjpegparse.c
index 6fbe2d003..bcd1cb0c0 100644
--- a/gst/jpegformat/gstjpegparse.c
+++ b/gst/jpegformat/gstjpegparse.c
@@ -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;