summaryrefslogtreecommitdiffstats
path: root/gst/librfb/rfbdecoder.c
diff options
context:
space:
mode:
authorThijs Vermeir <thijsvermeir@gmail.com>2008-11-12 10:32:24 +0000
committerThijs Vermeir <thijsvermeir@gmail.com>2008-11-12 10:32:24 +0000
commitd8852e5788026c7e64b05a097b6544c11db0b1c0 (patch)
tree7ef388a89f14629937b81b65276ad03dbed8e91c /gst/librfb/rfbdecoder.c
parente05d00f63b83dc1fe986aca138b0124e4f70ecaf (diff)
downloadgst-plugins-bad-d8852e5788026c7e64b05a097b6544c11db0b1c0.tar.gz
gst-plugins-bad-d8852e5788026c7e64b05a097b6544c11db0b1c0.tar.bz2
gst-plugins-bad-d8852e5788026c7e64b05a097b6544c11db0b1c0.zip
gst/librfb/rfbdecoder.c: Fix uninitialized warnings
Original commit message from CVS: * gst/librfb/rfbdecoder.c: Fix uninitialized warnings
Diffstat (limited to 'gst/librfb/rfbdecoder.c')
-rw-r--r--gst/librfb/rfbdecoder.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/librfb/rfbdecoder.c b/gst/librfb/rfbdecoder.c
index 4e32cc62..268c2fc8 100644
--- a/gst/librfb/rfbdecoder.c
+++ b/gst/librfb/rfbdecoder.c
@@ -784,6 +784,7 @@ rfb_decoder_hextile_encoding (RfbDecoder * decoder, gint start_x, gint start_y,
guint8 subencoding, nr_subrect, xy, wh;
guint32 background, foreground;
+ foreground = background = 0;
x_end = rect_w % 16;
x_count = rect_w / 16 + (x_end > 0 ? 1 : 0);
y_end = rect_h % 16;