summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2008-07-30 15:29:44 +0000
committerEdward Hervey <bilboed@bilboed.com>2008-07-30 15:29:44 +0000
commitd7e7103b5204fea3f99d6abacf552efb5def390b (patch)
tree7c9658c5e01282906dbea0466efc54927c2dafed /sys
parent4f37ce04f6b3957673b7bd6b4044ddb5fd87382e (diff)
sys/xvimage/xvimagesink.c: Fix a "may be used uninitialized in this function" which weirdly only appears on macosx (?).
Original commit message from CVS: * sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support): Fix a "may be used uninitialized in this function" which weirdly only appears on macosx (?).
Diffstat (limited to 'sys')
-rw-r--r--sys/xvimage/xvimagesink.c2
1 files changed, 1 insertions, 1 deletions
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;