summaryrefslogtreecommitdiff
path: root/gst/jpegformat/gstjpegparse.c
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2011-04-16 11:18:44 +0200
committerEdward Hervey <bilboed@bilboed.com>2011-04-16 11:18:44 +0200
commitb18bf6a018112b3321dbd0ce760fef5820dfec8f (patch)
treef71f191c603bf67156721e00337fd2405f5cc5b9 /gst/jpegformat/gstjpegparse.c
parent19bd1e6d55109aa21562e64a288de335e2729279 (diff)
downloadgstreamer-plugins-bad-b18bf6a018112b3321dbd0ce760fef5820dfec8f.tar.gz
jpegformat: Fix unitialized variable on macosx
Diffstat (limited to 'gst/jpegformat/gstjpegparse.c')
-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 65e249c5e..1542b6ed3 100644
--- a/gst/jpegformat/gstjpegparse.c
+++ b/gst/jpegformat/gstjpegparse.c
@@ -607,7 +607,7 @@ extract_and_queue_tags (GstJpegParse * parse, guint size, guint8 * data,
static inline gboolean
gst_jpeg_parse_app1 (GstJpegParse * parse, GstByteReader * reader)
{
- guint16 size;
+ guint16 size = 0;
const gchar *id_str;
const guint8 *data = NULL;