mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
gst/librfb/rfbdecoder.c: Fix uninitialized warnings
Original commit message from CVS: * gst/librfb/rfbdecoder.c: Fix uninitialized warnings
This commit is contained in:
parent
e05d00f63b
commit
d8852e5788
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2008-11-12 Thijs Vermeir <thijsvermeir@gmail.com>
|
||||||
|
|
||||||
|
* gst/librfb/rfbdecoder.c:
|
||||||
|
Fix uninitialized warnings
|
||||||
|
|
||||||
2008-11-11 Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
|
2008-11-11 Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
|
||||||
|
|
||||||
* tests/check/Makefile.am:
|
* tests/check/Makefile.am:
|
||||||
|
|
|
@ -784,6 +784,7 @@ rfb_decoder_hextile_encoding (RfbDecoder * decoder, gint start_x, gint start_y,
|
||||||
guint8 subencoding, nr_subrect, xy, wh;
|
guint8 subencoding, nr_subrect, xy, wh;
|
||||||
guint32 background, foreground;
|
guint32 background, foreground;
|
||||||
|
|
||||||
|
foreground = background = 0;
|
||||||
x_end = rect_w % 16;
|
x_end = rect_w % 16;
|
||||||
x_count = rect_w / 16 + (x_end > 0 ? 1 : 0);
|
x_count = rect_w / 16 + (x_end > 0 ? 1 : 0);
|
||||||
y_end = rect_h % 16;
|
y_end = rect_h % 16;
|
||||||
|
|
Loading…
Reference in a new issue