summaryrefslogtreecommitdiff
path: root/gst/jpegformat
diff options
context:
space:
mode:
authorEdward Hervey <edward.hervey@collabora.co.uk>2011-01-06 12:51:27 +0100
committerEdward Hervey <edward.hervey@collabora.co.uk>2011-01-06 12:51:27 +0100
commit6b9e2628b70796d68164905ab3ffe9410be540a1 (patch)
treef6053d06a1b18d2992c8880b72f256f9a2f43289 /gst/jpegformat
parent0a55306c40b67021cbcc7439dd8944ce47e38c78 (diff)
downloadgstreamer-plugins-bad-6b9e2628b70796d68164905ab3ffe9410be540a1.tar.gz
jpegparse: Fix unitialized variable on macosx
Diffstat (limited to 'gst/jpegformat')
-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 5c54776a0..ca9ac1f2f 100644
--- a/gst/jpegformat/gstjpegparse.c
+++ b/gst/jpegformat/gstjpegparse.c
@@ -515,7 +515,7 @@ static inline gboolean
gst_jpeg_parse_skip_marker (GstJpegParse * parse,
GstByteReader * reader, guint8 marker)
{
- guint16 size;
+ guint16 size = 0;
if (!gst_byte_reader_get_uint16_be (reader, &size))
return FALSE;