[Spice-commits] server/red_worker.c
Gerd Hoffmann
kraxel at kemper.freedesktop.org
Tue Jul 13 01:12:17 PDT 2010
server/red_worker.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit b1761377d17c2c64cb52bf4c77972a122874eaf4
Author: Gerd Hoffmann <kraxel at redhat.com>
Date: Tue Jul 13 10:11:48 2010 +0200
red_glz_compress_image: lines isn't needed any more
diff --git a/server/red_worker.c b/server/red_worker.c
index 1dd10b2..4701ba0 100644
--- a/server/red_worker.c
+++ b/server/red_worker.c
@@ -5674,7 +5674,6 @@ static inline int red_glz_compress_image(DisplayChannel *display_channel,
LzImageType type = MAP_BITMAP_FMT_TO_LZ_IMAGE_TYPE[src->format];
RedGlzDrawable *glz_drawable;
GlzDrawableInstanceItem *glz_drawable_instance;
- uint8_t *lines;
int glz_size;
int zlib_size;
@@ -5698,7 +5697,7 @@ static inline int red_glz_compress_image(DisplayChannel *display_channel,
glz_data->usr.more_lines = glz_usr_more_lines;
glz_size = glz_encode(display_channel->glz, type, src->x, src->y,
- (src->flags & SPICE_BITMAP_FLAGS_TOP_DOWN), lines, 0,
+ (src->flags & SPICE_BITMAP_FLAGS_TOP_DOWN), NULL, 0,
src->stride, (uint8_t*)glz_data->data.bufs_head->buf,
sizeof(glz_data->data.bufs_head->buf),
glz_drawable_instance,
More information about the Spice-commits
mailing list