summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--sys/xvimage/xvimagesink.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 241682ac..ae20c483 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-07-30 Edward Hervey <edward.hervey@collabora.co.uk>
+
+ * sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support):
+ Fix a "may be used uninitialized in this function" which weirdly only
+ appears on macosx (?).
+
2008-07-30 Stefan Kost <ensonic@users.sf.net>
* gst-libs/gst/riff/riff-ids.h:
diff --git a/sys/xvimage/xvimagesink.c b/sys/xvimage/xvimagesink.c
index d9012dd4..07636b62 100644
--- a/sys/xvimage/xvimagesink.c
+++ b/sys/xvimage/xvimagesink.c
@@ -1377,7 +1377,7 @@ gst_xvimagesink_get_xv_support (GstXvImageSink * xvimagesink,
/* Set the colorkey to something that is dark but hopefully won't randomly
* appear on the screen elsewhere (ie not black or greys) */
const Atom atom = XInternAtom (xcontext->disp, colorkey, False);
- guint32 ckey;
+ guint32 ckey = 0;
guint32 keymask;
gint bits;
gboolean set_attr = TRUE;