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 (?).
This commit is contained in:
Edward Hervey 2008-07-30 15:29:44 +00:00
parent 4f37ce04f6
commit d7e7103b52
2 changed files with 7 additions and 1 deletions

View file

@ -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:

View file

@ -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;